summaryrefslogtreecommitdiff
path: root/test/system/030-run.bats
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-04-15 12:49:53 -0600
committerEd Santiago <santiago@redhat.com>2019-06-17 13:41:14 -0600
commitd6f436204f0c8c6ef4986c1b8ccff123f300cb34 (patch)
tree2f1e1e840d9eccef8666c17551c9d044fc7d8922 /test/system/030-run.bats
parent058c93f8505e14cfcc718b84b66766d7ea18975d (diff)
downloadpodman-d6f436204f0c8c6ef4986c1b8ccff123f300cb34.tar.gz
podman-d6f436204f0c8c6ef4986c1b8ccff123f300cb34.tar.bz2
podman-d6f436204f0c8c6ef4986c1b8ccff123f300cb34.zip
run BATS tests in Cirrus
I'm running the BATS tests manually once in a while, and catching several problems each week that make it past the rest of CI. Since the BATS tests run at RPM gating time, we need to catch problems earlier. Try running the tests from Cirrus. Tests will be skipped on Ubuntu due to a too-ancient version of coreutils (8.28; the 'timeout -v' we use requires 8.29). Tests are run *after* integration tests, even though these take three minutes and would be nice to have fail quickly, because running before causes bizarre CI failures. Shrug. UPDATE: also fix run test, broken by #3311. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/030-run.bats')
-rw-r--r--test/system/030-run.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats
index a29b1adc3..cefff0e2c 100644
--- a/test/system/030-run.bats
+++ b/test/system/030-run.bats
@@ -9,8 +9,8 @@ true | 0 |
false | 1 |
sh -c 'exit 32' | 32 |
echo $rand | 0 | $rand
-/no/such/command | 127 | Error: container create failed:.*exec:.* no such file or dir
-/etc | 126 | Error: container create failed:.*exec:.* permission denied
+/no/such/command | 127 | Error: .*: starting container process caused .*exec:.*stat /no/such/command: no such file or directory
+/etc | 126 | Error: .*: starting container process caused .*exec:.* permission denied
"
while read cmd expected_rc expected_output; do