tests: fix misc/sort-exit-early to skip if root
authorNick Alcock <nick.alcock@oracle.com>
Wed, 29 Aug 2012 22:02:46 +0000 (23:02 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 30 Aug 2012 01:26:15 +0000 (02:26 +0100)
* tests/misc/sort-exit-early: skip_if_root_ as this test
requires an unwritable input and an unreadable output.

tests/misc/sort-exit-early

index 7470aad..5ad6d41 100755 (executable)
@@ -18,6 +18,7 @@
 
 . "${srcdir=.}/init.sh"; path_prepend_ ../src
 print_ver_ sort
+skip_if_root_
 
 # Check output is writable before starting to sort
 touch input