aboutsummaryrefslogtreecommitdiffstats
path: root/cpio/test/test_option_a.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpio/test/test_option_a.c')
-rw-r--r--cpio/test/test_option_a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpio/test/test_option_a.c b/cpio/test/test_option_a.c
index 606de606e2c5..296387777ccf 100644
--- a/cpio/test/test_option_a.c
+++ b/cpio/test/test_option_a.c
@@ -96,7 +96,8 @@ DEFINE_TEST(test_option_a)
test_create();
/* Sanity check; verify that atimes really do get modified. */
- assert((p = slurpfile(NULL, "f0")) != NULL);
+ p = slurpfile(NULL, "f0");
+ assert(p != NULL);
free(p);
assertEqualInt(0, stat("f0", &st));
if (st.st_atime == files[0].atime_sec) {