From 58d2e589fb4dbcc23cfc5ddd3f886a32a0ab759e Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Thu, 7 Mar 2019 15:15:50 -0700 Subject: BATS: new tests, and improvements to existing ones New: - podman exec - podman load (requires #2674) - CLI parsing (regression test for #2574) Improved: - help: test "podman NoSuchCommand", and subcommands - help: test "podman cmd" without required args - pod: start with --infra=false; this allows running rootless - log: also run 'logs' after container is run - log: test -f with two containers Also, use helpful descriptions for skip_if_rootless Tested on f29, root and rootless. As soon as podman-remote supports rm, I'll start testing that too. Signed-off-by: Ed Santiago --- test/system/000-TEMPLATE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/system/000-TEMPLATE') diff --git a/test/system/000-TEMPLATE b/test/system/000-TEMPLATE index 296ed4d58..85e25e921 100644 --- a/test/system/000-TEMPLATE +++ b/test/system/000-TEMPLATE @@ -52,7 +52,7 @@ function teardown() { @test "podman FOO - description of test" { # FIXME: please try to remove this line; that is, try to write tests # that will pass as both root and rootless. - skip_if_rootless + skip_if_rootless "Short explanation of why this doesn't work rootless" # FIXME: template for run commands. Always use 'run_podman'! # FIXME: The '?' means 'ignore exit status'; use a number if you -- cgit v1.2.3-54-g00ecf