tests: fix "shuf unreadable" test to work when run as root
commit37c9ce40f3a851955916e5d54635566a5685ce23
authorPádraig Brady <P@draigBrady.com>
Fri, 5 Jul 2013 01:43:22 +0000 (5 02:43 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 5 Jul 2013 01:43:22 +0000 (5 02:43 +0100)
treeaae5eff214de7cb151545da1acd2621135577843
parent31225e4f3260c0b97983986befef3de91e02c3ef
tests: fix "shuf unreadable" test to work when run as root

* tests/misc/shuf.sh: Restrict the test to the significant
case where we can't in fact read the "unreadable" file.
tests/misc/shuf.sh