mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 15:29:29 +00:00
test: add lines-checked for update/rename test
Since I changed check_lines() to propogate the matcher.awk exit status, this test failed due to a missing 'lines-checked' file. Add the file to fix that issue. Also, remove the -x and -v options to the shell invocation, because more lines of output are produced and that should not be checked. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
committed by
Matthew Johnson
parent
8f868bef1c
commit
8708dc8722
@@ -0,0 +1,17 @@
|
||||
Update started.
|
||||
Attempting to download version string to memory
|
||||
Preparing to update from 10 to 20
|
||||
Extracting os-core pack for version 20
|
||||
Statistics for going from version 10 to version 20:
|
||||
changed bundles : 1
|
||||
new bundles : 0
|
||||
deleted bundles : 0
|
||||
changed files : 1
|
||||
new files : 2
|
||||
deleted files : 2
|
||||
Starting download of remaining update content. This may take a while...
|
||||
Finishing download of update content...
|
||||
Staging file content
|
||||
Applying update
|
||||
Update was applied.
|
||||
Update successful. System updated from version 10 to version 20
|
||||
@@ -26,7 +26,7 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "update simple rename" {
|
||||
run sudo sh -xvc "$SWUPD update $SWUPD_OPTS"
|
||||
run sudo sh -c "$SWUPD update $SWUPD_OPTS"
|
||||
|
||||
check_lines "$output"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user