[ostree] basic-test: Fixup mtime check for bare-user



commit d3edda5edcaf3399c8e2f8b2846c6b9f1b82fbf6
Author: Colin Walters <walters verbum org>
Date:   Wed Dec 17 11:34:10 2014 -0500

    basic-test: Fixup mtime check for bare-user
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741662

 tests/basic-test.sh |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tests/basic-test.sh b/tests/basic-test.sh
index a9a9502..d097a32 100755
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -338,7 +338,11 @@ echo "ok remote show-url"
 
 cd ${test_tmpdir}
 rm -rf test2-checkout
-$OSTREE checkout test2 test2-checkout
+if grep bare-user repo/config; then
+    $OSTREE checkout -U test2 test2-checkout
+else
+    $OSTREE checkout test2 test2-checkout
+fi
 stat '--format=%Y' test2-checkout/baz/cow > cow-mtime
 assert_file_has_content cow-mtime 0
 echo "ok content mtime"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]