This commit is contained in:
2026-08-02 15:26:07 +02:00
parent 336b36c8e1
commit b2eb145a6f
415 changed files with 24264 additions and 36 deletions
+5
View File
@@ -0,0 +1,5 @@
@test 'Trigger BW01' {
# shellcheck disable=SC2283,SC1068
run =0 actually-intended-command with some args # see issue #578
# no $status check because that should be done above (but isn't!)
}
@@ -0,0 +1,4 @@
@test "Don't trigger BW01 with checked exit code 127" {
bats_require_minimum_version 1.5.0
run -127 =0 actually-intended-command with some args
}
@@ -0,0 +1,3 @@
@test "Don't trigger BW01 with exit code !=127 and no check" {
run exit 1
}
+3
View File
@@ -0,0 +1,3 @@
@test "Trigger BW02" {
run --keep-empty-lines true
}
@@ -0,0 +1,7 @@
setup_suite() {
:
}
@test test {
:
}
@@ -0,0 +1,3 @@
setup_suite() {
:
}
@@ -0,0 +1,10 @@
setup_suite() {
:
}
# shellcheck disable=SC2034
BATS_SETUP_SUITE_COMPLETED='suppress BW03'
@test test {
:
}