mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-04 04:31:35 +00:00
API: output for autoupdate
This commit provides a minimal output to be displayed when the --quiet flag is used for this command: - swupd autoupdate Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
This commit is contained in:
committed by
Castulo J. Martinez
parent
b62aae3c8c
commit
f3bb9765da
@@ -4601,6 +4601,15 @@ assert_regex_is_not_output() { # assertion
|
||||
|
||||
}
|
||||
|
||||
assert_output_is_empty() { # assertion
|
||||
|
||||
if [ -n "$output" ]; then
|
||||
print_assert_failure "The output was expected to be empty and it is not"
|
||||
return 1
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
assert_equal() { # assertion
|
||||
|
||||
local val1=$1
|
||||
|
||||
Reference in New Issue
Block a user