nixos/stratis: update tests to use new features

Nick Cao 7d2faad3 ed71b75e

Changed files
+2 -3
nixos
tests
stratis
+2 -3
nixos/tests/stratis/encryption.nix
···
# test rebinding encrypted pool
machine.succeed("stratis pool rebind keyring testpool testkey2")
# test restarting encrypted pool
-
uuid = machine.succeed("stratis pool list | grep -oE '[0-9a-fA-F-]{36}'").rstrip('\n')
-
machine.succeed(" stratis pool stop testpool")
-
machine.succeed(f"stratis pool start {uuid} --unlock-method keyring")
'';
})
···
# test rebinding encrypted pool
machine.succeed("stratis pool rebind keyring testpool testkey2")
# test restarting encrypted pool
+
machine.succeed("stratis pool stop testpool")
+
machine.succeed("stratis pool start --name testpool --unlock-method keyring")
'';
})