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

Tweak test suite to also run on Fedora #1223

Merged
merged 4 commits into from
Oct 21, 2021

Conversation

pemensik
Copy link
Contributor

By submitting this pull request, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your PR:

Please submit all pull requests against the development branch. Failure to do so will delay or deny your request

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

How familiar are you with the codebase?: 5


Pass tests even on Fedora 34, which has some paths different. Use system bats if available.

This template was created based on the work of udemy-dl.

@pemensik pemensik changed the base branch from master to development October 18, 2021 15:24
Copy link
Member

@DL6ER DL6ER left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. Unfortunately, the CI tests are now failing, see my review comment below.

test/test_suite.bats Show resolved Hide resolved
pdns-recursor config path is different from both Debian and Alpine.
Detect also Fedora specific path.

Signed-off-by: Petr Menšík <[email protected]>
BIND 9.16.21 displays SVCB in text form. Compare always unknown style,
even if that record is known.

Signed-off-by: Petr Menšík <[email protected]>
@PromoFaux
Copy link
Member

Please also update the workflow file to use v1.16 of the build images.

pemensik added a commit to pemensik/FTL that referenced this pull request Oct 20, 2021
Required for MR pi-hole#1223 pass.

Signed-off-by: Petr Menšík <[email protected]>
PromoFaux
PromoFaux previously approved these changes Oct 20, 2021
Copy link
Member

@PromoFaux PromoFaux left a comment

Choose a reason for hiding this comment

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

I'm happy with this, providing @DL6ER is

Required for MR pi-hole#1223 pass.

Signed-off-by: Petr Menšík <[email protected]>
Checkout latest version of bats only if BATS is not set already. Allow
using custom path, system bats instance for example.

Signed-off-by: Petr Menšík <[email protected]>
test/run.sh Show resolved Hide resolved
@DL6ER DL6ER changed the title Fedora tests Tweak test suite to also run on Fedora Oct 21, 2021
@DL6ER DL6ER merged commit 7513bfa into pi-hole:development Oct 21, 2021
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