summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2011-12-20 20:37:17 +0000
committermm <mm@FreeBSD.org>2011-12-20 20:37:17 +0000
commit303fa095abb4476b102d9fb37c8fa6162ab484fa (patch)
treeaeb777b66091c0b2b96165d3c1ec7afe603688b4 /usr.bin/cpio
parentfbc163e4413f967184b1e4ac9d2228f8a95f06d3 (diff)
downloadFreeBSD-src-303fa095abb4476b102d9fb37c8fa6162ab484fa.zip
FreeBSD-src-303fa095abb4476b102d9fb37c8fa6162ab484fa.tar.gz
Sync bsdcpio with vendor branch release/2.8:
Revision 3770: Merge r3768 from trunk: Fix typo in dev/ino verification for cpio formats. Obtained from: http://code.google.com/p/libarchive MFC after: 2 weeks
Diffstat (limited to 'usr.bin/cpio')
-rw-r--r--usr.bin/cpio/test/test_option_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/cpio/test/test_option_c.c b/usr.bin/cpio/test/test_option_c.c
index 241bcf6..63dcdbd 100644
--- a/usr.bin/cpio/test/test_option_c.c
+++ b/usr.bin/cpio/test/test_option_c.c
@@ -176,7 +176,7 @@ DEFINE_TEST(test_option_c)
assertEqualInt(dev, from_octal(e + 6, 6));
/* Ino must be different from first entry. */
assert(is_octal(e + 12, 6)); /* ino */
- assert(dev != from_octal(e + 12, 6));
+ assert(ino != from_octal(e + 12, 6));
#if defined(_WIN32) && !defined(__CYGWIN__)
/* Group members bits and others bits do not work. */
assertEqualMem(e + 18, "040777", 6); /* Mode */
OpenPOWER on IntegriCloud