mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: allow deeper symlink recursion in 005
Recent kernels allow more than 40 nested symlinks, so up the limit to still reproduce a failure. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
@@ -45,7 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|||||||
_cleanup()
|
_cleanup()
|
||||||
{
|
{
|
||||||
cd $testdir
|
cd $testdir
|
||||||
rm -f symlink_{0,1,2,3}{0,1,2,3,4,5,6,7,8,9} symlink_self empty_file
|
rm -f symlink_{0,1,2,3,4}{0,1,2,3,4,5,6,7,8,9} symlink_self empty_file
|
||||||
cd /
|
cd /
|
||||||
_cleanup_testdir
|
_cleanup_testdir
|
||||||
}
|
}
|
||||||
@@ -82,7 +82,7 @@ cd $testdir
|
|||||||
|
|
||||||
o=empty_file
|
o=empty_file
|
||||||
touch $o
|
touch $o
|
||||||
for f in symlink_{0,1,2,3}{0,1,2,3,4,5,6,7,8,9}
|
for f in symlink_{0,1,2,3,4}{0,1,2,3,4,5,6,7,8,9}
|
||||||
do
|
do
|
||||||
ln -s $o $f
|
ln -s $o $f
|
||||||
o=$f
|
o=$f
|
||||||
@@ -92,7 +92,7 @@ ln -s symlink_self symlink_self
|
|||||||
|
|
||||||
echo "*** touch deep symlinks"
|
echo "*** touch deep symlinks"
|
||||||
echo ""
|
echo ""
|
||||||
_touch symlink_{0,1,2,3}{0,1,2,3,4,5,6,7,8,9}
|
_touch symlink_{0,1,2,3,4}{0,1,2,3,4,5,6,7,8,9}
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** touch recusive symlinks"
|
echo "*** touch recusive symlinks"
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user