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:
Přemysl Eric Janouch 2023-07-05 00:15:45 +02:00
parent ec33adba35
commit bc8867eb22
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 3 additions and 1 deletions

4
test
View File

@ -1,5 +1,7 @@
#!/usr/bin/expect -f
# 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
system ./xD --write-default-cfg
@ -27,7 +29,7 @@ expect "Option changed"
send "/disconnect\n"
expect "]"
send "/connect\n"
expect "Connection established"
expect "Welcome to"
# Try some chatting
send "/join #test\n"