mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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:
1 parent
6227c8e8de
commit
1bc76356d2
1 file changed
+1
-2
@@ -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" \
|
||||
|
||||
Reference in new issue
Block a user