archive-test: Handle umask of 022 or 002
Red Hat appears to default to 002, whereas Debian systems default to 022. Fun.
This commit is contained in:
parent
e9a181c67d
commit
b1ace57ef8
|
|
@ -50,7 +50,7 @@ echo "ok uid0 commit"
|
||||||
|
|
||||||
cd ${test_tmpdir}
|
cd ${test_tmpdir}
|
||||||
$OSTREE ls test2-uid0 /firstfile > uid0-ls-output.txt
|
$OSTREE ls test2-uid0 /firstfile > uid0-ls-output.txt
|
||||||
assert_file_has_content uid0-ls-output.txt "-00664 0 0 6 /firstfile"
|
assert_file_has_content uid0-ls-output.txt "-006[64]4 0 0 6 /firstfile"
|
||||||
echo "ok uid0 ls"
|
echo "ok uid0 ls"
|
||||||
|
|
||||||
$OSTREE checkout -U test2-uid0 checkout-user-test2-uid0
|
$OSTREE checkout -U test2-uid0 checkout-user-test2-uid0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue