Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kola/butane/grub-users: Update the test #2731

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

gursewak1997
Copy link
Member

@gursewak1997 gursewak1997 commented Nov 13, 2023

Adapt the ext.config.butane.grub-users test as per the changes from #2723. Now, we git grep from ostree-x.conf instead of ostress-x-fedora-coreos.conf. Keeping the test to grep against ostree-x*.conf so we can still run the test with old file names.

@@ -36,18 +36,18 @@ rebooted)
fatal "Rebooted into old deployment"
fi
# cross-check karg with BLS configs
if grep -q test-added-karg /boot/loader.0/entries/ostree-1-fedora-coreos.conf; then
if grep -q test-added-karg /boot/loader.0/entries/ostree-1.conf; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need the test to work with the old filename too. Maybe simplest is just e.g.

Suggested change
if grep -q test-added-karg /boot/loader.0/entries/ostree-1.conf; then
if grep -q test-added-karg /boot/loader.0/entries/ostree-1*.conf; then

Adapt the test as per the changes from
coreos#2723
Now, we git grep from ostree-x.conf instead of
ostress-x-fedora-coreos.conf
Copy link
Member

@marmijo marmijo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gursewak1997 gursewak1997 enabled auto-merge (rebase) November 13, 2023 20:41
@gursewak1997 gursewak1997 merged commit 59e39e5 into coreos:testing-devel Nov 13, 2023
2 checks passed
@gursewak1997 gursewak1997 deleted the fix-grubusers branch February 13, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants