From: Tim Kientzle Date: Tue, 18 Nov 2008 16:38:45 +0000 (-0500) Subject: If you can't verify group restore, mark it as a skipped test, X-Git-Tag: v2.6.0~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0da355dae41648035d30446492e34f8d8a6fd57;p=thirdparty%2Flibarchive.git If you can't verify group restore, mark it as a skipped test, don't just printf(). SVN-Revision: 258 --- diff --git a/libarchive/test/test_write_disk_perms.c b/libarchive/test/test_write_disk_perms.c index a8af80ce9..c573a5700 100644 --- a/libarchive/test/test_write_disk_perms.c +++ b/libarchive/test/test_write_disk_perms.c @@ -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