summaryrefslogtreecommitdiff
path: root/tests/admin-test.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2021-03-17 14:03:49 +0000
committerColin Walters <walters@verbum.org>2021-03-17 19:55:56 +0000
commit1b28e6041c33b3f1508dda458ed7ed97aed4375e (patch)
treed9e3f69b61865bc037d97c1ea22d54fd3a72f786 /tests/admin-test.sh
parentd522f261db7e4c2379fe79a18c083426858fc355 (diff)
downloadostree-1b28e6041c33b3f1508dda458ed7ed97aed4375e.tar.gz
sysroot: Add _require_booted_deployment() API
This is a common pattern that is replicated both in our code and in rpm-ostree a lot. Let's add a canonical API.
Diffstat (limited to 'tests/admin-test.sh')
-rw-r--r--tests/admin-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin-test.sh b/tests/admin-test.sh
index b05893ae..a7016a87 100644
--- a/tests/admin-test.sh
+++ b/tests/admin-test.sh
@@ -95,7 +95,7 @@ echo "ok layout"
if ${CMD_PREFIX} ostree admin deploy --stage --os=testos testos:testos/buildmaster/x86_64-runtime 2>err.txt; then
fatal "staged when not booted"
fi
-assert_file_has_content_literal err.txt "Cannot stage a deployment when not currently booted into an OSTree system"
+assert_file_has_content_literal err.txt "Cannot stage deployment: Not currently booted into an OSTree system"
echo "ok staging does not work when not booted"
orig_mtime=$(stat -c '%.Y' sysroot/ostree/deploy)