From 1bc76356d211de63ae98b0dfa3c3b024a6e55221 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 3 Apr 2011 11:27:21 +0200 Subject: 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". --- tests/mv/sticky-to-xpart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/mv') 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" \ -- cgit v1.2.3-54-g00ecf