summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-05 00:15:45 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-05 00:16:55 +0200
commitbc8867eb227c95931462c2f19c8a67763e6f1733 (patch)
tree7812682fd440c6274b59e68068892fa6a54bc445
parentec33adba3588133889be3094f115bf583b03f245 (diff)
downloadxK-bc8867eb227c95931462c2f19c8a67763e6f1733.tar.gz
xK-bc8867eb227c95931462c2f19c8a67763e6f1733.tar.xz
xK-bc8867eb227c95931462c2f19c8a67763e6f1733.zip
Fix the integration test
IRCv3 capabilities broke it a bit. Also change it so that it doesn't destroy existing configuration.
-rwxr-xr-xtest4
1 files changed, 3 insertions, 1 deletions
diff --git a/test b/test
index 2ba55b4..e8c2b53 100755
--- a/test
+++ b/test
@@ -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"