From: Christoph Hellwig Date: Mon, 11 Apr 2011 18:20:37 +0000 (-0700) Subject: xfstests: allow deeper symlink recursion in 005 X-Git-Tag: v1.1.0~73 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9a4fb1b6756d9e8ba4f36e4c0f1e370ac1494a33;p=xfstests-dev.git 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 Reviewed-by: Dave Chinner --- diff --git a/005 b/005 index 205256cf..40b8b2e5 100755 --- a/005 +++ b/005 @@ -45,7 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _cleanup() { 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 / _cleanup_testdir } @@ -82,7 +82,7 @@ cd $testdir o=empty_file 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 ln -s $o $f o=$f @@ -92,7 +92,7 @@ ln -s symlink_self symlink_self echo "*** touch deep symlinks" 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 "*** touch recusive symlinks" echo ""