]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
reorder so as not to use `head -c N'
authorJim Meyering <jim@meyering.net>
Sat, 20 May 2000 08:11:51 +0000 (08:11 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 20 May 2000 08:11:51 +0000 (08:11 +0000)
tests/rm/hash

index 049d49e873098c6e21cde444e0a6c5f3fe7275ca..d57cf4d4b3722dadd113455906e8137d25b833bf 100755 (executable)
@@ -19,7 +19,7 @@ cd $tmp
 
 # Create a hierarchy with 3*26 leaf directories, each at depth 153.
 echo "$0: creating 78 trees, each of depth 153; this will take a while..." >&2
-y=`yes |tr '\012' / |head -c 300`
+y=`yes |head -150 |tr '\012' /`
 for i in 1 2 3; do
   for j in a b c d e f g h i j k l m n o p q r s t u v w x y z; do
     mkdir -p t/$i/$j/$y || framework_failure=1