From 9a4fb1b6756d9e8ba4f36e4c0f1e370ac1494a33 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 11 Apr 2011 11:20:37 -0700 Subject: [PATCH] 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 --- 005 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 "" -- 2.47.3