mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
tests/kola: Two test fixes
Now that we're actually running this in CI.
This commit is contained in:
parent
89fdbf1b0e
commit
635fd0aa9c
@ -5,6 +5,7 @@
|
||||
set -xeuo pipefail
|
||||
|
||||
. ${KOLA_EXT_DATA}/libinsttest.sh
|
||||
require_writable_sysroot
|
||||
|
||||
date
|
||||
cd /ostree/repo/tmp
|
||||
|
@ -71,6 +71,8 @@ case "${n}" in
|
||||
firstdeploycommit=$(rpm-ostree status |grep 'Commit:' |head -1|sed -e 's,^ *Commit: *,,')
|
||||
assert_streq "${firstdeploycommit}" "${newcommit}"
|
||||
# Cleanup
|
||||
## TODO remove workaround for https://github.com/coreos/rpm-ostree/pull/2021
|
||||
mkdir -p /var/lib/rpm-ostree/history
|
||||
rpm-ostree cleanup -rp
|
||||
echo "ok upgrade with staging"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user