svn commit: r185671 - head/lib/libarchive/test

Tim Kientzle kientzle at FreeBSD.org
Fri Dec 5 22:01:50 PST 2008


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


More information about the svn-src-all mailing list