diff options
author | Timothée Ravier <travier@redhat.com> | 2021-05-07 16:42:37 +0200 |
---|---|---|
committer | Timothée Ravier <travier@redhat.com> | 2021-05-07 16:55:03 +0200 |
commit | 02527f115e934d40a37a4b2b41f1a93eaf70732b (patch) | |
tree | b08b769dbb945d65eb0faebbbf07cc836f7a01d6 /tests/test-admin-upgrade-systemd-update.sh | |
parent | b8cca6cef14716987bbf7ef8f6edcbfc1688cc4c (diff) | |
download | ostree-02527f115e934d40a37a4b2b41f1a93eaf70732b.tar.gz |
*: rename master to main in tests & examples
Diffstat (limited to 'tests/test-admin-upgrade-systemd-update.sh')
-rwxr-xr-x | tests/test-admin-upgrade-systemd-update.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-admin-upgrade-systemd-update.sh b/tests/test-admin-upgrade-systemd-update.sh index 94b750d7..b1f9956b 100755 --- a/tests/test-admin-upgrade-systemd-update.sh +++ b/tests/test-admin-upgrade-systemd-update.sh @@ -29,9 +29,9 @@ echo "1..2" # Setup a deployment cd ${test_tmpdir} ${CMD_PREFIX} ostree --repo=sysroot/ostree/repo remote add --set=gpg-verify=false testos $(cat httpd-address)/ostree/testos-repo -${CMD_PREFIX} ostree --repo=sysroot/ostree/repo pull testos testos/buildmaster/x86_64-runtime -rev=$(${CMD_PREFIX} ostree --repo=sysroot/ostree/repo rev-parse testos/buildmaster/x86_64-runtime) -${CMD_PREFIX} ostree admin deploy --os=testos testos:testos/buildmaster/x86_64-runtime +${CMD_PREFIX} ostree --repo=sysroot/ostree/repo pull testos testos/buildmain/x86_64-runtime +rev=$(${CMD_PREFIX} ostree --repo=sysroot/ostree/repo rev-parse testos/buildmain/x86_64-runtime) +${CMD_PREFIX} ostree admin deploy --os=testos testos:testos/buildmain/x86_64-runtime assert_has_dir sysroot/ostree/deploy/testos/deploy/${rev}.0/usr assert_has_dir sysroot/ostree/deploy/testos/deploy/${rev}.0/etc assert_has_dir sysroot/ostree/deploy/testos/var @@ -50,7 +50,7 @@ touch -r ${usr} sysroot/ostree/deploy/testos/var/.updated # (current) deployment os_repository_new_commit ${CMD_PREFIX} ostree admin upgrade --os=testos -newrev=$(${CMD_PREFIX} ostree --repo=sysroot/ostree/repo rev-parse testos/buildmaster/x86_64-runtime) +newrev=$(${CMD_PREFIX} ostree --repo=sysroot/ostree/repo rev-parse testos/buildmain/x86_64-runtime) assert_not_has_file sysroot/ostree/deploy/testos/deploy/${newrev}.0/etc/.updated assert_not_has_file sysroot/ostree/deploy/testos/var/.updated assert_has_file sysroot/ostree/deploy/testos/deploy/${rev}.0/etc/.updated |