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
+23
View File
@@ -0,0 +1,23 @@
bats_require_minimum_version 1.5.0
@test "run -0 false" {
run -0 false
}
@test "run -1 echo hi" {
run -1 echo hi
}
@test "run -2 exit 3" {
run -2 exit 3
}
@test "run ! true" {
run ! true
}
@test "run multiple pass/fails" {
run ! false
run -0 echo hi
run -127 /no/such/cmd
run -1 /etc
}
+7
View File
@@ -0,0 +1,7 @@
@test "run '-4evah' echo hi" {
run '-4evah' echo hi
}
@test "run -256 echo hi" {
run -256 echo hi
}