mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests: Test guestfish --key all:... selector
This commit is contained in:
@@ -119,3 +119,20 @@ eval "$fish_ref"
|
||||
|
||||
# Repeat the test.
|
||||
check_filesystems
|
||||
|
||||
# Exit the current guestfish background process.
|
||||
guestfish --remote -- exit
|
||||
GUESTFISH_PID=
|
||||
|
||||
# Test the --key all:... selector.
|
||||
keys_by_mapper_lvname=(
|
||||
--key all:key:FEDORA-Root
|
||||
--key all:key:FEDORA-LV1
|
||||
--key all:key:FEDORA-LV2
|
||||
--key all:key:FEDORA-LV3
|
||||
)
|
||||
fish_ref=$("${guestfish[@]}" "${keys_by_mapper_lvname[@]}")
|
||||
eval "$fish_ref"
|
||||
|
||||
# Repeat the test.
|
||||
check_filesystems
|
||||
|
||||
Reference in New Issue
Block a user