bsdunzip_test: Set umask before asserting permissions
Fixes: 34b3da0013 ("unzip: Add symlink tests")
This commit is contained in:
1 parent
d4fa1de0ad
commit
355f7cb849
2 files changed
+2
No files matched your search
@@ -18,6 +18,7 @@ DEFINE_TEST(test_symlink)
|
||||
return;
|
||||
}
|
||||
|
||||
assertUmask(0);
|
||||
extract_reference_file(reffile1);
|
||||
extract_reference_file(reffile2);
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ DEFINE_TEST(test_symlink_dotdot)
|
||||
return;
|
||||
}
|
||||
|
||||
assertUmask(0);
|
||||
extract_reference_file(reffile);
|
||||
|
||||
r = systemf("%s %s >test.out 2>test.err", testprog, reffile);
|
||||
|
||||
Reference in new issue
Block a user