[ostree] archive-test: Handle umask of 022 or 002
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] archive-test: Handle umask of 022 or 002
- Date: Wed, 1 May 2013 22:48:38 +0000 (UTC)
commit b1ace57ef8cc6f39a18f6c8e53d528256dcf7b0a
Author: Colin Walters <walters verbum org>
Date: Wed May 1 18:43:01 2013 -0400
archive-test: Handle umask of 022 or 002
Red Hat appears to default to 002, whereas Debian systems default
to 022. Fun.
tests/archive-test.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/archive-test.sh b/tests/archive-test.sh
index cd22b87..cd0b299 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]