vmcheck/test-rojig-client.sh: Don't check full rojig NEVRA

Let's make this test work across major version rebases of the FAHC
treecompose job by not hardcoding a specific `%{dist}` here. It's strong
enough to check that the `deploy` operation has the expected previous
version.

I did bump the FAHC buildroot so that next version of the rojig RPM will
be f29, but I don't want to wait until the job has composed at least two
of them.

Closes: #1787
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2019-03-18 17:38:27 -04:00 committed by Atomic Bot
parent 86c811af8d
commit 44110377c6

View File

@ -61,6 +61,6 @@ vm_assert_status_jq '.deployments[0].origin|startswith("rojig://fahc:fedora-atom
echo "ok rojig client deploy" echo "ok rojig client deploy"
vm_cmd rpm-ostree status > status.txt vm_cmd rpm-ostree status > status.txt
assert_file_has_content_literal status.txt 'fahc:fedora-atomic-host-'${prev_version}'-1.fc29.x86_64' assert_file_has_content_literal status.txt 'fahc:fedora-atomic-host-'${prev_version}'-1'
echo "ok rojig status" echo "ok rojig status"