File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bats
22# bashsupport disable=BP5007
33
4- @test " Xshould start interactive shell by default" {
5-
6- LIBGUESTFSW_IMAGE=" $BUILD_TAG " expect << EXPECT
4+ # TODO free up space; does not work otherwise on GitHub
5+ @test " should start interactive shell by default" {
6+ skip
7+ LIBGUESTFSW_IMAGE=" $BUILD_TAG " run /usr/bin/expect -df " $( make_interpretable ' #!/usr/bin/expect -d' - << EXPECT
78set timeout 15
89spawn ./guestfish
9- expect "‘quit’ to quit the shell"
10+ expect "help"
11+ send "quit"
1012EXPECT
13+ ) "
1114
15+ assert_success
1216 assert_line --partial ' Welcome to guestfish'
1317 # shellcheck disable=SC1112
14- assert_line --partial ' ‘quit’ to quit the shell '
18+ assert_line --partial ' Type: ‘help’ for help on commands '
1519}
1620
1721@test " should execute script if specified" {
You can’t perform that action at this time.
0 commit comments