diff options
author | Jim Meyering <meyering@redhat.com> | 2011-04-03 11:27:21 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-04-04 18:21:31 +0200 |
commit | 1bc76356d211de63ae98b0dfa3c3b024a6e55221 (patch) | |
tree | a046acc2028f7e377f6ac32630a76a58c311726b /tests/mv | |
parent | 6227c8e8dea8c02bc0ef30e2bf286c2be2adb52f (diff) | |
download | coreutils-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/mv')
-rwxr-xr-x | tests/mv/sticky-to-xpart | 3 |
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" \ |