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:
Patrick McCarty
2017-10-12 10:40:37 -07:00
committed by Matthew Johnson
parent 8f868bef1c
commit 8708dc8722
2 changed files with 18 additions and 1 deletions
@@ -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
+1 -1
View File
@@ -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"