test/system: Test 'run' with a RHEL Toolbx container
https://github.com/containers/toolbox/pull/1283
This commit is contained in:
parent
7e9d3918f5
commit
ddd1221d44
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue