coreutils
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]