test/system: Test that toolboxes start alright
This commit is contained in:
parent
ecc796246b
commit
bbc23f3fb0
1 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,15 @@
|
|||
|
||||
load helpers
|
||||
|
||||
@test "Start the 'running' container" {
|
||||
run_podman --log-level debug start running
|
||||
}
|
||||
|
||||
@test "Logs of container 'running' look alright" {
|
||||
run_podman logs running
|
||||
is "${lines[${#lines[@]} - 1]}" "level=debug msg=\"Going to sleep\"" "The last line of the logs should say the entry-point went to sleep"
|
||||
}
|
||||
|
||||
@test "Echo 'Hello World' inside of the default container" {
|
||||
run_toolbox run echo "Hello World"
|
||||
# is "$output" "Hello World" "Should say 'Hello World'"
|
||||
|
|
Loading…
Reference in a new issue