Work even on case-insensitive file system.
authorJim Meyering <jim@meyering.net>
Sat, 6 May 2006 14:23:31 +0000 (14:23 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 6 May 2006 14:23:31 +0000 (14:23 +0000)
tests/mv/leak-fd

index 922a657..6e6e405 100755 (executable)
@@ -32,7 +32,7 @@ cd $tmp || framework_failure=1
 
 b="0 1 2 3 4 5 6 7 8 9
 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
-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"
+_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"
 
 for i in `echo $b`; do
   echo $i
@@ -54,7 +54,7 @@ fi
 fail=0
 
 mv * $other_partition_tmpdir || fail=1
-test -f ZZ/f && fail=1
+test -f $last_file/f && fail=1
 rm .dirs
 
 ls -A > ../out || fail=1