order in which directory entries are processed.
Reported by Andreas Schwab.
> $tmp/a/b/g
# FIXME: if this fails, it's a framework failure
-cat <<EOF > $tmp/$test.E
+cat <<EOF | sort > $tmp/$test.E
removing all entries of directory $tmp/a
removing all entries of directory $tmp/a/b
removing $tmp/a/b/g
LANG=C
export LANG
+# Note that both the expected output (above) and the actual output lines
+# are sorted, because directory entries may be processed in arbitrary order.
fail=0
-$RM --verbose -r $tmp/a > $tmp/$test.O || fail=1
+$RM --verbose -r $tmp/a | sort > $tmp/$test.O || fail=1
if test -d $tmp/a; then
fail=1