server: fix pod filter by truncated id
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
15f23bc6ac
commit
e7492ca12f
2 changed files with 11 additions and 1 deletions
|
@ -112,6 +112,12 @@ function teardown() {
|
|||
[ "$status" -eq 0 ]
|
||||
[[ "$output" != "" ]]
|
||||
[[ "$output" =~ "$pod1_id" ]]
|
||||
# filter by truncated id should work as well
|
||||
run ocic pod list --id "${pod1_id:0:4}"
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" != "" ]]
|
||||
[[ "$output" =~ "$pod1_id" ]]
|
||||
run ocic pod list --id "$pod2_id"
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue