summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2012-08-29 23:02:46 +0100
committerPádraig Brady <P@draigBrady.com>2012-08-30 02:26:15 +0100
commit43f17f39e75390f080472a0a2e7d226e1a8f499e (patch)
treea79f3ec99aa40d4fdc4b27d14770feda22a3d9cb /tests
parentc9888e0debce29c6a0f7134bbc6d0ffd3f196bc5 (diff)
downloadcoreutils-43f17f39e75390f080472a0a2e7d226e1a8f499e.tar.xz
tests: fix misc/sort-exit-early to skip if root
* tests/misc/sort-exit-early: skip_if_root_ as this test requires an unwritable input and an unreadable output.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/sort-exit-early1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/misc/sort-exit-early b/tests/misc/sort-exit-early
index 7470aad52..5ad6d41aa 100755
--- a/tests/misc/sort-exit-early
+++ b/tests/misc/sort-exit-early
@@ -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