mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-04 15:33:34 +08:00
Don't make the success of the test depend
on the order in which directory entries are processed.
This commit is contained in:
parent
b2b9bed164
commit
764dd3149e
@ -50,9 +50,9 @@ test -d $dir && fail=1
|
|||||||
ls $other_partition_tmpdir/$null > /dev/null || fail=1
|
ls $other_partition_tmpdir/$null > /dev/null || fail=1
|
||||||
test -d $other_partition_tmpdir/$dir/a/b/c || 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'
|
\`$null' -> \`XXX/$null'
|
||||||
removing \`$null'
|
removing \`$null'
|
||||||
\`$dir' -> \`XXX/$dir'
|
\`$dir' -> \`XXX/$dir'
|
||||||
|
Loading…
Reference in New Issue
Block a user