diff options
author | Tim Kientzle <kientzle@acm.org> | 2016-03-19 11:29:37 -0700 |
---|---|---|
committer | Tim Kientzle <kientzle@acm.org> | 2016-03-19 11:29:45 -0700 |
commit | 1d5491bf41b48580585f2f1a7f266ac09ceec73e (patch) | |
tree | 7d5a261f7408ccf2a1190dcbf10df177bf60e66e /cpio/test | |
parent | 4f8e09322f156cb7880759d49a9bcc3fed9a5b95 (diff) | |
download | libarchive-1d5491bf41b48580585f2f1a7f266ac09ceec73e.tar.gz |
Issue #377: Help cpio tests pass on systems with large UIDs
Diffstat (limited to 'cpio/test')
-rw-r--r-- | cpio/test/test_basic.c | 2 | ||||
-rw-r--r-- | cpio/test/test_option_c.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpio/test/test_basic.c b/cpio/test/test_basic.c index 7213062e..f3a04800 100644 --- a/cpio/test/test_basic.c +++ b/cpio/test/test_basic.c @@ -72,7 +72,7 @@ basic_cpio(const char *target, return; /* Use the cpio program to create an archive. */ - r = systemf("%s -o %s < filelist >%s/archive 2>%s/pack.err", + r = systemf("%s -R 1000:1000 -o %s < filelist >%s/archive 2>%s/pack.err", testprog, pack_options, target, target); failure("Error invoking %s -o %s", testprog, pack_options); assertEqualInt(r, 0); diff --git a/cpio/test/test_option_c.c b/cpio/test/test_option_c.c index a634be10..6aaba30a 100644 --- a/cpio/test/test_option_c.c +++ b/cpio/test/test_option_c.c @@ -101,7 +101,7 @@ DEFINE_TEST(test_option_c) /* Use the cpio program to create an archive. */ fclose(filelist); - r = systemf("%s -oc <filelist >basic.out 2>basic.err", testprog); + r = systemf("%s -R 1000:1000 -oc <filelist >basic.out 2>basic.err", testprog); /* Verify that nothing went to stderr. */ assertTextFileContents("1 block\n", "basic.err"); |