[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/6] tests: convert common root-build test failure to a "skip"
From: |
Jim Meyering |
Subject: |
[PATCH 2/6] tests: convert common root-build test failure to a "skip" |
Date: |
Mon, 4 Apr 2011 07:13:37 +0200 |
From: Jim Meyering <address@hidden>
* 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 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tests/mv/sticky-to-xpart b/tests/mv/sticky-to-xpart
index f0a3d81..f689d9d 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" \
--
1.7.4.2.662.gcbd0
- minor test improvements, Jim Meyering, 2011/04/04
- [PATCH 1/6] tests: minor improvement of sc_tight_scope rule, Jim Meyering, 2011/04/04
- [PATCH 2/6] tests: convert common root-build test failure to a "skip",
Jim Meyering <=
- [PATCH 3/6] tests: preserve-gid: remove useless use of "env", Jim Meyering, 2011/04/04
- [PATCH 4/6] tests: preserve-gid: don't chown temporary PATH dir to a nameless UID, Jim Meyering, 2011/04/04
- [PATCH 5/6] tests: don't ever leave a backgrounded "sleep 10m" process, Jim Meyering, 2011/04/04
- [PATCH 6/6] tests: avoid spurious parallel failure due to temporary disk full, Jim Meyering, 2011/04/04
Re: minor test improvements, Jim Meyering, 2011/04/04