aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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"