mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-11-22 07:33:06 +00:00
Fix swupd options for bundle-list --all unit test
The swupd unit tests need a group of options for execution environment. Signed-off-by: Mario Alfredo Carrillo Arevalo <mario.alfredo.c.arevalo@intel.com>
This commit is contained in:
committed by
tmarcu
parent
d9cae3724f
commit
504000ec3a
@@ -14,7 +14,7 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "bundle-list all bundles" {
|
||||
run sudo sh -c "$SWUPD bundle-list --all"
|
||||
run sudo sh -c "$SWUPD bundle-list $SWUPD_OPTS --all"
|
||||
|
||||
check_lines "$output"
|
||||
}
|
||||
|
||||
@@ -14,8 +14,8 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "bundle-list all bundles" {
|
||||
run sudo sh -c "$SWUPD bundle-list --all"
|
||||
|
||||
run sudo sh -c "$SWUPD bundle-list $SWUPD_OPTS --all"
|
||||
output=$(echo "$output" | sed -e 1,3d)
|
||||
check_lines "$output"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user