From cf0fa2d930de1609d1b851566b3ca7fd38185584 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 28 Mar 2003 14:03:17 +0000 Subject: Use seq, not `yes' to generate dir name. Otherwise, on systems (DJGPP) that emulate pipes using files, this test would never complete, waiting for `yes' to terminate. --- tests/rm/hash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rm/hash b/tests/rm/hash index 946776252..f5cc14bd3 100755 --- a/tests/rm/hash +++ b/tests/rm/hash @@ -21,7 +21,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 |head -n 150 |tr '\012' /` +y=`seq 1 150|tr -sc '\n' y|tr '\n' /` 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 -- cgit v1.2.3-70-g09d2