From 60a59cbbe42ea997f493e18daaa9e6fa12d40518 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 3 Apr 2018 14:07:37 -0400 Subject: [PATCH] vmcheck/override-replace: Fix status jq test We should be checking that there are no requested base replacements here, not removals. This was likely a copy-paste slip-up from copying the override-remove tests. I still kept those checks for sanity, and just tacked on the correct ones. Closes: #1323 Approved by: cgwalters --- tests/vmcheck/test-override-local-replace.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/vmcheck/test-override-local-replace.sh b/tests/vmcheck/test-override-local-replace.sh index 98a98f0d..d1b249b7 100755 --- a/tests/vmcheck/test-override-local-replace.sh +++ b/tests/vmcheck/test-override-local-replace.sh @@ -135,7 +135,9 @@ echo "ok override reset foo and fooext using name and nevra" vm_rpmostree override reset --all vm_assert_status_jq \ '.deployments[0]["base-removals"]|length == 0' \ - '.deployments[0]["requested-base-removals"]|length == 0' + '.deployments[0]["requested-base-removals"]|length == 0' \ + '.deployments[0]["base-local-replacements"]|length == 0' \ + '.deployments[0]["requested-base-local-replacements"]|length == 0' echo "ok override reset --all" vm_rpmostree cleanup -p