mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-03 12:11:28 +00:00
This commit provides a minimal output to be displayed when the --quiet flag is used for these commands: - swupd 3rd-party add - swupd 3rd-party remove - swupd 3rd-party list Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
23 lines
376 B
Bash
Executable File
23 lines
376 B
Bash
Executable File
#!/usr/bin/env bats
|
|
|
|
# Author: Castulo Martinez
|
|
# Email: castulo.martinez@intel.com
|
|
|
|
load "../testlib"
|
|
|
|
test_setup() {
|
|
|
|
create_test_environment "$TEST_NAME"
|
|
create_third_party_repo -a "$TEST_NAME" 10 1 repo1
|
|
|
|
}
|
|
|
|
@test "API072: 3rd-party remove" {
|
|
|
|
run sudo sh -c "$SWUPD 3rd-party remove $SWUPD_OPTS repo1 --quiet"
|
|
|
|
assert_status_is "$SWUPD_OK"
|
|
assert_output_is_empty
|
|
|
|
}
|