tests: fix intermittent failure in test/du/inodes.sh
commit012fbb63719f4a683604c4917a34d2039e38c023
authorPádraig Brady <P@draigBrady.com>
Sat, 27 Jul 2013 23:19:45 +0000 (28 00:19 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 27 Jul 2013 23:26:57 +0000 (28 00:26 +0100)
tree98fc585abb6c69e06b204a0df994af2576681354
parent333dc83d52e014a0b532e316ea8cd93b048f1ac6
tests: fix intermittent failure in test/du/inodes.sh

Prompted by the continuous integration build failure at:
http://hydra.nixos.org/build/5582213

* test/du/inodes.sh: Due to undefined order in returned directory
entries, the expected output might not match, so sort both expected
and actual output when returning --all directory entries.
Also use a simpler test for ensuring no errors are output.
tests/du/inodes.sh