mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-06 21:51:32 +00:00
API: output for [3rd-party] bundle-add
This commit provides a minimal output to be displayed when the --quiet flag is used for these commands: - swupd bundle-add - swupd 3rd-party bundle-add Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
This commit is contained in:
committed by
Castulo J. Martinez
parent
addd14013b
commit
faf2d994fb
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
# Author: Castulo Martinez
|
||||
# Email: castulo.martinez@intel.com
|
||||
|
||||
load "../testlib"
|
||||
|
||||
test_setup() {
|
||||
|
||||
create_test_environment "$TEST_NAME"
|
||||
create_bundle -n test-bundle1 -f /foo/file_1 "$TEST_NAME"
|
||||
|
||||
}
|
||||
|
||||
@test "API020: bundle-add" {
|
||||
|
||||
run sudo sh -c "$SWUPD bundle-add test-bundle1 $SWUPD_OPTS --quiet"
|
||||
|
||||
assert_status_is "$SWUPD_OK"
|
||||
assert_output_is_empty
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user