]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/testsuite/misc-test.e
Correctly use cloaked IRC masks on "INVITE nickname"
[ngircd-alex.git] / src / testsuite / misc-test.e
index f9142df20d80d4fae04c3f257c958e8674411591..0623024da07997fcd9fe3e58a6bf44939b1d77c2 100644 (file)
@@ -129,7 +129,7 @@ expect {
 send "userhost nick\r"
 expect {
        timeout { exit 1 }
-       -re ":ngircd.test.server 302 nick :?nick=+.*@(localhost|127.0.0.1)"
+       -re ":ngircd.test.server 302 nick :?nick=+.*@(localhos.*|127.0.0.1)"
 }
 
 send "userhost doesnotexist\r"
@@ -141,7 +141,7 @@ expect {
 send "userhost nick doesnotexist nick doesnotexist\r"
 expect {
        timeout { exit 1 }
-       -re ":ngircd.test.server 302 nick :nick=+.*@(localhost|127.0.0.1) nick=+.*@(localhost|127.0.0.1)"
+       -re ":ngircd.test.server 302 nick :nick=+.*@(localhos.*|127.0.0.1) nick=+.*@(localhos.*|127.0.0.1)"
 }
 
 send "away :testing\r"
@@ -153,7 +153,7 @@ expect {
 send "userhost nick nick nick nick nick nick\r"
 expect {
        timeout { exit 1 }
-       -re ":ngircd.test.server 302 nick :nick=-.*@(localhost|127.0.0.1) nick=-.*@(localhost|127.0.0.1) nick=-.*@(localhost|127.0.0.1) nick=-.*@(localhost|127.0.0.1) nick=-.*@(localhost|127.0.0.1)\r"
+       -re ":ngircd.test.server 302 nick :nick=-.*@(localhos.*|127.0.0.1) nick=-.*@(localhos.*|127.0.0.1) nick=-.*@(localhos.*|127.0.0.1) nick=-.*@(localhos.*|127.0.0.1) nick=-.*@(localhos.*|127.0.0.1)\r"
 }
 
 send "quit\r"