]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: convert common root-build test failure to a "skip"
authorJim Meyering <meyering@redhat.com>
Sun, 3 Apr 2011 09:27:21 +0000 (11:27 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 4 Apr 2011 16:21:31 +0000 (18:21 +0200)
* 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

index f0a3d817b82c92efdca6ebcc1ad1e0e330d1d03a..f689d9d0a3f4f6ee536d5a2a44c1a182af2b0350 100755 (executable)
@@ -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" \