xfs
[Top] [All Lists]

[PATCH] xfstests: allow deeper symlink recursion in 005

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: allow deeper symlink recursion in 005
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sun, 10 Apr 2011 16:03:32 -0400
User-agent: Mutt/1.5.21 (2010-09-15)
Recent kernels allow more than 40 nested symlinks, so up the limit
to still reproduce a failure.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: xfstests-dev/005
===================================================================
--- xfstests-dev.orig/005       2011-03-16 13:10:39.000000000 +0000
+++ xfstests-dev/005    2011-03-16 13:11:00.000000000 +0000
@@ -45,7 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 1
 _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 ""

<Prev in Thread] Current Thread [Next in Thread>