Author: jmmv Date: Wed Mar 12 10:42:58 2014 New Revision: 263084 URL: http://svnweb.freebsd.org/changeset/base/263084
Log: Turn a test precondition into a skip in the mdconfig tests. Tests that cannot be run because a precondition is not met should be marked as skipped, not failed. Do this for the tests in mdconfig that first check if the caller user is root. Modified: head/tools/regression/sbin/mdconfig/00.t Modified: head/tools/regression/sbin/mdconfig/00.t ============================================================================== --- head/tools/regression/sbin/mdconfig/00.t Wed Mar 12 10:41:14 2014 (r263083) +++ head/tools/regression/sbin/mdconfig/00.t Wed Mar 12 10:42:58 2014 (r263084) @@ -32,8 +32,8 @@ echo "1..1" if [ `whoami` != "root" ]; then - echo "not ok 1 - you need to be root to run this test." - exit 1 + echo "ok 1 # skip You need to be root to run this test." + exit 0 fi TESTDIR=$(dirname $(realpath $0)) _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
