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:
Mario Alfredo Carrillo Arevalo
2017-02-01 11:03:43 -08:00
committed by tmarcu
parent d9cae3724f
commit 504000ec3a
2 changed files with 3 additions and 3 deletions
@@ -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"
}
+2 -2
View File
@@ -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"
}