Merge #143048: nixosTests.hibernate: Shut down when finished

This commit is contained in:
Vladimír Čunát 2021-10-27 08:05:02 +02:00
commit a4bf443457
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -68,7 +68,7 @@ in makeTest {
testScript =
''
def create_named_machine(name):
return create_machine(
machine = create_machine(
{
"qemuFlags": "-cpu max ${
if system == "x86_64-linux" then "-m 1024"
@ -78,6 +78,8 @@ in makeTest {
"name": name,
}
)
driver.machines.append(machine)
return machine
# Install NixOS