diff options
author | kientzle <kientzle@FreeBSD.org> | 2007-07-15 17:16:42 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2007-07-15 17:16:42 +0000 |
commit | ac6c4bee91669e490f5a9794c11a8ce9b42b4f00 (patch) | |
tree | a31ad233230c975487930e0b30d53946970a5891 /lib/libarchive/test | |
parent | 9bdbb066cbe14b1ce7f70c8f6989cd5b9d568543 (diff) | |
download | FreeBSD-src-ac6c4bee91669e490f5a9794c11a8ce9b42b4f00.zip FreeBSD-src-ac6c4bee91669e490f5a9794c11a8ce9b42b4f00.tar.gz |
Clarify one test.
Approved by: re (blanket, libarchive testing)
Diffstat (limited to 'lib/libarchive/test')
-rw-r--r-- | lib/libarchive/test/test_write_disk_perms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/test/test_write_disk_perms.c b/lib/libarchive/test/test_write_disk_perms.c index e72ba44..5e81a0d 100644 --- a/lib/libarchive/test/test_write_disk_perms.c +++ b/lib/libarchive/test/test_write_disk_perms.c @@ -235,7 +235,7 @@ DEFINE_TEST(test_write_disk_perms) archive_entry_set_uid(ae, getuid() + 1); archive_write_disk_set_options(a, ARCHIVE_EXTRACT_PERM); assertA(0 == archive_write_header(a, ae)); - assertA(ARCHIVE_WARN == archive_write_finish_entry(a)); + assertEqualInt(ARCHIVE_WARN, archive_write_finish_entry(a)); /* Write a regular file with ARCHIVE_EXTRACT_PERM & SGID bit */ assert(archive_entry_clear(ae) != NULL); |