maint: cleanup compare calls in test/du/inodes.sh
commit9e52ebac5793dfed309a5ae97ab753f000e93f00
authorBernhard Voelker <mail@bernhard-voelker.de>
Sun, 28 Jul 2013 16:32:22 +0000 (28 18:32 +0200)
committerBernhard Voelker <mail@bernhard-voelker.de>
Sun, 28 Jul 2013 16:32:22 +0000 (28 18:32 +0200)
treeaac33b57fbe8088bc90be82a011875c65860090b
parent3ab87d254db5b12804d5bd49d38e63fb59c40f2b
maint: cleanup compare calls in test/du/inodes.sh

* test/du/inodes.sh: In the cases where compare() fails, that function
would show the unified diff automatically.  Therefore, remove the
excess "cat out".
In the cases where expecting an empty file, use compare() again
rather than the simpler "test -s" because possible error reports
will then include the file's content for the same reason as above.
tests/du/inodes.sh