bsdunzip_test: Set umask before asserting permissions

Fixes:		34b3da0013 ("unzip: Add symlink tests")
This commit is contained in:
Dag-Erling Smørgrav committed 2026-06-24 18:25:00 +02:00
1 parent d4fa1de0ad
commit 355f7cb849
2 files changed
+2

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ DEFINE_TEST(test_symlink)
return;
}
assertUmask(0);
extract_reference_file(reffile1);
extract_reference_file(reffile2);
+1
View File
@@ -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);