Fix handling of the --store argument. (#12)
This commit is contained in:
parent
39bcc3643c
commit
f4c58ce90b
4 changed files with 61 additions and 38 deletions
|
|
@ -71,7 +71,7 @@ forEachUbuntuImage
|
|||
|
||||
node1.wait_for_unit("default.target")
|
||||
|
||||
node1.execute("/system-manager-profile/bin/activate")
|
||||
node1.succeed("/system-manager-profile/bin/activate")
|
||||
node1.wait_for_unit("system-manager.target")
|
||||
|
||||
node1.wait_for_unit("service-9.service")
|
||||
|
|
@ -81,7 +81,7 @@ forEachUbuntuImage
|
|||
node1.succeed("grep -F 'launch_the_rockets = true' /etc/foo.conf")
|
||||
node1.fail("grep -F 'launch_the_rockets = false' /etc/foo.conf")
|
||||
|
||||
node1.execute("${newConfig}/bin/activate")
|
||||
node1.succeed("${newConfig}/bin/activate")
|
||||
node1.wait_for_unit("new-service.service")
|
||||
node1.wait_until_fails("systemctl status service-9.service")
|
||||
node1.wait_until_fails("cat /etc/a/nested/example/foo3")
|
||||
|
|
@ -104,7 +104,7 @@ forEachUbuntuImage
|
|||
node1.wait_until_fails("cat /etc/baz/bar/foo2")
|
||||
node1.wait_for_file("/etc/foo_new")
|
||||
|
||||
node1.execute("${newConfig}/bin/deactivate")
|
||||
node1.succeed("${newConfig}/bin/deactivate")
|
||||
node1.wait_until_fails("systemctl status new-service.service")
|
||||
node1.wait_until_fails("cat /etc/foo_new")
|
||||
'';
|
||||
|
|
@ -145,7 +145,7 @@ forEachUbuntuImage
|
|||
|
||||
node1.wait_for_unit("default.target")
|
||||
|
||||
node1.execute("/system-manager-profile/bin/prepopulate")
|
||||
node1.succeed("/system-manager-profile/bin/prepopulate")
|
||||
node1.systemctl("daemon-reload")
|
||||
node1.systemctl("start default.target")
|
||||
node1.wait_for_unit("system-manager.target")
|
||||
|
|
@ -157,14 +157,14 @@ forEachUbuntuImage
|
|||
node1.succeed("grep -F 'launch_the_rockets = true' /etc/foo.conf")
|
||||
node1.fail("grep -F 'launch_the_rockets = false' /etc/foo.conf")
|
||||
|
||||
node1.execute("${newConfig}/bin/activate")
|
||||
node1.succeed("${newConfig}/bin/activate")
|
||||
node1.wait_for_unit("new-service.service")
|
||||
node1.wait_until_fails("systemctl status service-9.service")
|
||||
node1.wait_until_fails("cat /etc/a/nested/example/foo3")
|
||||
node1.wait_until_fails("cat /etc/baz/bar/foo2")
|
||||
node1.wait_for_file("/etc/foo_new")
|
||||
|
||||
node1.execute("${newConfig}/bin/deactivate")
|
||||
node1.succeed("${newConfig}/bin/deactivate")
|
||||
node1.wait_until_fails("systemctl status new-service.service")
|
||||
node1.wait_until_fails("cat /etc/foo_new")
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue