diff options
Diffstat (limited to 'contrib/libarchive/cpio/test/test_option_u.c')
-rw-r--r-- | contrib/libarchive/cpio/test/test_option_u.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libarchive/cpio/test/test_option_u.c b/contrib/libarchive/cpio/test/test_option_u.c index 08058aa45396..b377def020fb 100644 --- a/contrib/libarchive/cpio/test/test_option_u.c +++ b/contrib/libarchive/cpio/test/test_option_u.c @@ -41,7 +41,7 @@ DEFINE_TEST(test_option_u) assertMakeFile("f", 0644, "a"); /* Copy the file to the "copy" dir. */ - r = systemf("echo f | %s -pd copy >copy.out 2>copy.err", + r = systemf("echo f| %s -pd copy >copy.out 2>copy.err", testprog); assertEqualInt(r, 0); @@ -60,7 +60,7 @@ DEFINE_TEST(test_option_u) assertEqualInt(0, utime("f", ×)); /* Copy the file to the "copy" dir. */ - r = systemf("echo f | %s -pd copy >copy.out 2>copy.err", + r = systemf("echo f| %s -pd copy >copy.out 2>copy.err", testprog); assertEqualInt(r, 0); @@ -70,7 +70,7 @@ DEFINE_TEST(test_option_u) assertEqualMem(p, "a", 1); /* Copy the file to the "copy" dir with -u (force) */ - r = systemf("echo f | %s -pud copy >copy.out 2>copy.err", + r = systemf("echo f| %s -pud copy >copy.out 2>copy.err", testprog); assertEqualInt(r, 0); |