From: Jim Meyering Date: Sun, 3 Apr 2011 09:27:21 +0000 (+0200) Subject: tests: convert common root-build test failure to a "skip" X-Git-Tag: v8.11~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bc76356d211de63ae98b0dfa3c3b024a6e55221;p=thirdparty%2Fcoreutils.git 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". --- diff --git a/tests/mv/sticky-to-xpart b/tests/mv/sticky-to-xpart index f0a3d817b8..f689d9d0a3 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" \