test/system: Add test placeholders for entering containers
These tests need to be implemented in the future but they require some magic with socat or similar tools as entering a container is creating a new subshell and that is hard to monitor from a bash script. Better not to forget then. https://github.com/containers/toolbox/pull/915
This commit is contained in:
parent
ca899c8a56
commit
3aeb7cf288
2 changed files with 20 additions and 0 deletions
|
@ -20,3 +20,8 @@ teardown() {
|
|||
assert_line --index 0 "No toolbox containers found. Create now? [y/N] A container can be created later with the 'create' command."
|
||||
assert_line --index 1 "Run 'toolbox --help' for usage."
|
||||
}
|
||||
|
||||
# TODO: Write the test
|
||||
@test "root: Enter the default container when 1 non-default container is present" {
|
||||
skip "Testing of entering toolboxes is not implemented"
|
||||
}
|
||||
|
|
|
@ -53,3 +53,18 @@ teardown() {
|
|||
assert_line --index 1 "Use the '--container' option to select a toolbox."
|
||||
assert_line --index 2 "Run 'toolbox --help' for usage."
|
||||
}
|
||||
|
||||
# TODO: Write the test
|
||||
@test "enter: Enter the default toolbox" {
|
||||
skip "Testing of entering toolboxes is not implemented"
|
||||
}
|
||||
|
||||
# TODO: Write the test
|
||||
@test "enter: Enter the default toolbox when only 1 non-default toolbox is present" {
|
||||
skip "Testing of entering toolboxes is not implemented"
|
||||
}
|
||||
|
||||
# TODO: Write the test
|
||||
@test "enter: Enter a specific toolbox" {
|
||||
skip "Testing of entering toolboxes is not implemented"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue