Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2008 06:01:50 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185671 - head/lib/libarchive/test
Message-ID:  <200812060601.mB661ogY084658@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kientzle
Date: Sat Dec  6 06:01:50 2008
New Revision: 185671
URL: http://svn.freebsd.org/changeset/base/185671

Log:
  Style:  skipping() function correctly counts this as a skipped test.

Modified:
  head/lib/libarchive/test/test_write_disk_perms.c

Modified: head/lib/libarchive/test/test_write_disk_perms.c
==============================================================================
--- head/lib/libarchive/test/test_write_disk_perms.c	Sat Dec  6 06:00:52 2008	(r185670)
+++ head/lib/libarchive/test/test_write_disk_perms.c	Sat Dec  6 06:01:50 2008	(r185671)
@@ -272,7 +272,7 @@ DEFINE_TEST(test_write_disk_perms)
 		 * Current user must belong to at least two groups or
 		 * else we can't test setting the GID to another group.
 		 */
-		printf("Current user can't test gid restore: must belong to more than one group.\n");
+		skipping("Current user can't test gid restore: must belong to more than one group.");
 	} else {
 		/*
 		 * Write a regular file with ARCHIVE_EXTRACT_PERM & SGID bit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812060601.mB661ogY084658>