Don't make the success of the test depend

on the order in which directory entries are processed.
This commit is contained in:
Jim Meyering 2000-12-08 20:31:47 +00:00
parent b2b9bed164
commit 764dd3149e

View File

@ -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'