Skip to content

Commit

Permalink
WIP test with --keyfile-path
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Oct 31, 2023
1 parent b14198e commit 68d2b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/verify/check-storage-stratis
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_stratis_stop_type_opt(execute):

def create_pool_key(machine, keyname, passphrase):
# this is a bit complicated, see https://bugzilla.redhat.com/show_bug.cgi?id=2246923
machine.execute(f"echo -n '{passphrase}\n{passphrase}' | stratis key set --capture-key {keyname}")
machine.execute(f"echo -n '{passphrase}' | stratis key set --keyfile-path /dev/stdin {keyname}")


@testlib.skipImage("No Stratis", "debian-*", "ubuntu-*")
Expand Down

0 comments on commit 68d2b46

Please sign in to comment.