summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-08 20:31:47 +0000
committerJim Meyering <jim@meyering.net>2000-12-08 20:31:47 +0000
commit764dd3149e815f8547d05a08b36fdcc805ec08ce (patch)
tree03c5c5ff83729413331dfdcd16895d8a43eed1bf /tests
parentb2b9bed164e0cedd381f5ad07519a2f123e41fa8 (diff)
downloadcoreutils-764dd3149e815f8547d05a08b36fdcc805ec08ce.tar.xz
Don't make the success of the test depend
on the order in which directory entries are processed.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mv/mv-special-14
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1
index 9b431fecf..e69b8e2e4 100755
--- a/tests/mv/mv-special-1
+++ b/tests/mv/mv-special-1
@@ -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'