Repository navigation
Move the test suites to bats-core - #108
Merged
Merged
Conversation
sstephenson/bats is archived. The submodules now point at bats-core:
bats-core v1.14.0, bats-assert v2.2.4, and bats-support at master
787ac47. bats-support's only release, v0.3.0, is the 2016 commit the
old ztombol submodule already used; master adds four small fixes since.
bats-core refuses a file with duplicate test names. ldap.bats had two
pairs ("delivers mail to existing forward/alias"), and bats 0.4.0 ran
the later body of each twice, so the john.doe checks never ran. They
are now named by recipient and pass.
CONTRIBUTING.md pointed at test/tests.bats and the old hardware/mailserver
issues page; both now point at what exists.
All 9 suites pass, 361/361, with the same per-suite counts as master.
Closes mailserver2#96
SaraSmiseth
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #96
Description
Updating test framework from upstream.
Fixes #96
sstephenson/batsis archived. The submodules now point atbats-core:bats-corev1.14.0,bats-assertv2.2.4, andbats-supportat master787ac47.bats-support's only release, v0.3.0, is the 2016 commit the old ztombol submodule already used; master adds four small fixes since.bats-core refuses a file with duplicate test names. ldap.bats had two pairs ("delivers mail to existing forward/alias"), and bats 0.4.0 ran the later body of each twice, so the john.doe checks never ran. They are now named by recipient and pass.
CONTRIBUTING.md pointed at test/tests.bats and the old hardware/mailserver issues page; both now point at what exists.
Type of change
Status
Todo List
How has this been tested ?