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".
This commit is contained in:
Jim Meyering committed 2011-04-04 18:21:31 +02:00
1 parent 6227c8e8de
commit 1bc76356d2
1 file changed
+1 -2
+1 -2
View File
@@ -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" \