test/system: Test 'run' with a RHEL Toolbx container

https://github.com/containers/toolbox/pull/1283
This commit is contained in:
Debarshi Ray 2023-03-27 13:38:01 +02:00
parent 7e9d3918f5
commit ddd1221d44

View file

@ -56,6 +56,16 @@ teardown() {
assert [ ${#stderr_lines[@]} -eq 0 ] assert [ ${#stderr_lines[@]} -eq 0 ]
} }
@test "run: Smoke test with RHEL 8.7" {
create_distro_container rhel 8.7 rhel-toolbox-8.7
run --separate-stderr $TOOLBOX run --distro rhel --release 8.7 true
assert_success
assert [ ${#lines[@]} -eq 0 ]
assert [ ${#stderr_lines[@]} -eq 0 ]
}
@test "run: Ensure that a login shell is used to invoke the command" { @test "run: Ensure that a login shell is used to invoke the command" {
create_default_container create_default_container