From: Jim Meyering Date: Fri, 8 Dec 2000 20:31:47 +0000 (+0000) Subject: Don't make the success of the test depend X-Git-Tag: TEXTUTILS-2_0_10~34 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=764dd3149e815f8547d05a08b36fdcc805ec08ce;p=thirdparty%2Fcoreutils.git Don't make the success of the test depend on the order in which directory entries are processed. --- diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1 index 9b431fecf0..e69b8e2e42 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 < exp \`$null' -> \`XXX/$null' removing \`$null' \`$dir' -> \`XXX/$dir'