]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
If you can't verify group restore, mark it as a skipped test,
authorTim Kientzle <kientzle@gmail.com>
Tue, 18 Nov 2008 16:38:45 +0000 (11:38 -0500)
committerTim Kientzle <kientzle@gmail.com>
Tue, 18 Nov 2008 16:38:45 +0000 (11:38 -0500)
don't just printf().

SVN-Revision: 258

libarchive/test/test_write_disk_perms.c

index a8af80ce9f32f47f0fd2749a5d23215eacaaed8a..c573a5700d44edaedc4da302cbd386ea840c6fd6 100644 (file)
@@ -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