]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't make the success of the test depend
authorJim Meyering <jim@meyering.net>
Fri, 8 Dec 2000 20:31:47 +0000 (20:31 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 8 Dec 2000 20:31:47 +0000 (20:31 +0000)
on the order in which directory entries are processed.

tests/mv/mv-special-1

index 9b431fecf0ba2bd86848d928f09779baeaf5daf4..e69b8e2e42ea4e80b94e8b78ec21190321635536 100755 (executable)
@@ -50,9 +50,9 @@ test -d $dir && fail=1
 ls $other_partition_tmpdir/$null > /dev/null || fail=1
 test -d $other_partition_tmpdir/$dir/a/b/c || fail=1
 
-sed "s,$other_partition_tmpdir,XXX," out > out2
+sed "s,$other_partition_tmpdir,XXX," out | sort > out2
 
-cat > exp <<EOF
+cat <<EOF | sort > exp
 \`$null' -> \`XXX/$null'
 removing \`$null'
 \`$dir' -> \`XXX/$dir'