Commit Diff


commit - d9c26f3aeb35e979b72f7b0ac4220dbd07d7bc15
commit + 149859c5fecc621cac38df9beb6bb9469ea4c774
blob - 2e1484479195988d00f14772b42e00f6d3ac9d91
blob + 54c19922ea4d91cb9bdab805833c1a79325b611c
--- src/testsuite/who-test.e
+++ src/testsuite/who-test.e
@@ -14,7 +14,7 @@ expect {
 send "who\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick \* * localhost ngircd.test.server nick H :0 Real Name"
+	":ngircd.test.server 352 nick \* * ngircd.test.server nick H :0 Real Name"
 }
 
 send "join #channel\r"
@@ -26,7 +26,7 @@ expect {
 send "who 0\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick #channel * localhost ngircd.test.server nick H@ :0 Real Name"
+	":ngircd.test.server 352 nick #channel * ngircd.test.server nick H@ :0 Real Name"
 }
 
 send "away :testing\r"
@@ -38,7 +38,7 @@ expect {
 send "who *\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick #channel * localhost ngircd.test.server nick G@ :0 Real Name"
+	":ngircd.test.server 352 nick #channel * ngircd.test.server nick G@ :0 Real Name"
 }
 
 send "mode #channel +v nick\r"
@@ -47,10 +47,10 @@ expect {
 	"@* MODE #channel +v nick\r"
 }
 
-send "who localhost\r"
+send "who localhos*\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick #channel * localhost ngircd.test.server nick G@ :0 Real Name"
+	":ngircd.test.server 352 nick #channel * ngircd.test.server nick G@ :0 Real Name"
 }
 
 send "mode #channel -o nick\r"
@@ -62,7 +62,7 @@ expect {
 send "who ngircd.test.server\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick #channel * localhost ngircd.test.server nick G+ :0 Real Name"
+	":ngircd.test.server 352 nick #channel * ngircd.test.server nick G+ :0 Real Name"
 }
 
 send "part #channel\r"
@@ -74,7 +74,7 @@ expect {
 send "who Real?Name\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick \* * localhost ngircd.test.server nick G :0 Real Name"
+	":ngircd.test.server 352 nick \* * ngircd.test.server nick G :0 Real Name"
 }
 
 send "oper TestOp 123\r"
@@ -90,7 +90,7 @@ expect {
 send "who 0 o\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick \* * localhost ngircd.test.server nick G\* :0 Real Name"
+	":ngircd.test.server 352 nick \* * ngircd.test.server nick G* :0 Real Name"
 }
 
 send "away\r"
@@ -99,10 +99,10 @@ expect {
 	"305 nick"
 }
 
-send "who *cal*ho??\r"
+send "who ??cal*ho*\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick \* * localhost ngircd.test.server nick H\* :0 Real Name"
+	":ngircd.test.server 352 nick \* * ngircd.test.server nick H* :0 Real Name"
 }
 
 send "join #opers\r"
@@ -114,7 +114,7 @@ expect {
 send "who #opers\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick #opers * localhost ngircd.test.server nick H\*@ :0 Real Name"
+	":ngircd.test.server 352 nick #opers * ngircd.test.server nick H*@ :0 Real Name"
 }
 
 send "mode #opers -o nick\r"
@@ -126,7 +126,7 @@ expect {
 send "who *.server\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick #opers * localhost ngircd.test.server nick H\* :0 Real Name"
+	":ngircd.test.server 352 nick #opers * ngircd.test.server nick H* :0 Real Name"
 }
 
 send "mode #opers +v nick\r"
@@ -138,7 +138,7 @@ expect {
 send "who Real*me\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick #opers * localhost ngircd.test.server nick H\*+ :0 Real Name"
+	":ngircd.test.server 352 nick #opers * ngircd.test.server nick H*+ :0 Real Name"
 }
 
 send "mode #opers +s\r"
@@ -150,7 +150,7 @@ expect {
 send "who n?c?\r"
 expect {
 	timeout { exit 1 }
-	":ngircd.test.server 352 nick \* * localhost ngircd.test.server nick H\* :0 Real Name"
+	":ngircd.test.server 352 nick \* * ngircd.test.server nick H* :0 Real Name"
 }
 expect {
 	timeout { exit 1 }