Fix the integration test
IRCv3 capabilities broke it a bit. Also change it so that it doesn't destroy existing configuration.
This commit is contained in:
parent
ec33adba35
commit
bc8867eb22
4
test
4
test
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/expect -f
|
#!/usr/bin/expect -f
|
||||||
# Very basic end-to-end testing for CI
|
# Very basic end-to-end testing for CI
|
||||||
|
set tempdir [exec mktemp -d]
|
||||||
|
set ::env(XDG_CONFIG_HOME) $tempdir
|
||||||
|
|
||||||
# Run the daemon to test against
|
# Run the daemon to test against
|
||||||
system ./xD --write-default-cfg
|
system ./xD --write-default-cfg
|
||||||
|
@ -27,7 +29,7 @@ expect "Option changed"
|
||||||
send "/disconnect\n"
|
send "/disconnect\n"
|
||||||
expect "]"
|
expect "]"
|
||||||
send "/connect\n"
|
send "/connect\n"
|
||||||
expect "Connection established"
|
expect "Welcome to"
|
||||||
|
|
||||||
# Try some chatting
|
# Try some chatting
|
||||||
send "/join #test\n"
|
send "/join #test\n"
|
||||||
|
|
Loading…
Reference in New Issue