summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-04-03 11:27:21 +0200
committerJim Meyering <meyering@redhat.com>2011-04-04 18:21:31 +0200
commit1bc76356d211de63ae98b0dfa3c3b024a6e55221 (patch)
treea046acc2028f7e377f6ac32630a76a58c311726b /tests
parent6227c8e8dea8c02bc0ef30e2bf286c2be2adb52f (diff)
downloadcoreutils-1bc76356d211de63ae98b0dfa3c3b024a6e55221.tar.xz
tests: convert common root-build test failure to a "skip"
* tests/mv/sticky-to-xpart: Skip rather than failing this test when run as root and the binaries are not accessible by "nobody".
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mv/sticky-to-xpart3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mv/sticky-to-xpart b/tests/mv/sticky-to-xpart
index f0a3d817b..f689d9d0a 100755
--- a/tests/mv/sticky-to-xpart
+++ b/tests/mv/sticky-to-xpart
@@ -47,8 +47,7 @@ version=`
`
case $version in
$PACKAGE_VERSION) ;;
- *) echo "$0: cannot access just-built mv as user $NON_ROOT_USERNAME" 1>&2
- fail=1 ;;
+ *) skip_ "cannot access just-built mv as user $NON_ROOT_USERNAME";;
esac
setuidgid $NON_ROOT_USERNAME env PATH="$PATH" \