summaryrefslogtreecommitdiff
path: root/tests/archive-test.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-05-01 18:43:01 -0400
committerColin Walters <walters@verbum.org>2013-05-01 18:43:01 -0400
commitb1ace57ef8cc6f39a18f6c8e53d528256dcf7b0a (patch)
tree9daa1a4101e2247bd1ee515c10536e52bfc253ed /tests/archive-test.sh
parente9a181c67d7d9bccc4aafd172b14996ae4dc5d43 (diff)
downloadostree-b1ace57ef8cc6f39a18f6c8e53d528256dcf7b0a.tar.gz
archive-test: Handle umask of 022 or 002
Red Hat appears to default to 002, whereas Debian systems default to 022. Fun.
Diffstat (limited to 'tests/archive-test.sh')
-rwxr-xr-xtests/archive-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/archive-test.sh b/tests/archive-test.sh
index cd22b87a..cd0b2995 100755
--- a/tests/archive-test.sh
+++ b/tests/archive-test.sh
@@ -50,7 +50,7 @@ echo "ok uid0 commit"
cd ${test_tmpdir}
$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"
$OSTREE checkout -U test2-uid0 checkout-user-test2-uid0