From: Tim Kientzle Date: Sat, 12 Nov 2011 20:44:01 +0000 (-0500) Subject: Issue 197: fix a typo; a test for 'ino' accidentally referred X-Git-Tag: v3.0.0a~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb942312807f42faf5a5d72747c8cd10ef58856d;p=thirdparty%2Flibarchive.git Issue 197: fix a typo; a test for 'ino' accidentally referred to the 'dev' variable. SVN-Revision: 3768 --- diff --git a/cpio/test/test_option_c.c b/cpio/test/test_option_c.c index f9fbc92df..57e845de6 100644 --- a/cpio/test/test_option_c.c +++ b/cpio/test/test_option_c.c @@ -184,7 +184,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 */