This test requires an unwritable input and an unreadable output, so will fail if the testsuite is being run as root, and should not be run in this case. --- tests/misc/sort-exit-early | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tests/misc/sort-exit-early b/tests/misc/sort-exit-early index 7470aad..b83a489 100755 --- a/tests/misc/sort-exit-early +++ b/tests/misc/sort-exit-early @@ -19,6 +19,8 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ sort +skip_if_root_ + # Check output is writable before starting to sort touch input chmod a-w input -- 1.7.11.2.155.g5ceeb62