commit 9e48f3f8f8c312ee20caef70cfb377a0d89260bb from: Alexander Barton date: Thu Nov 10 10:54:22 2011 UTC whois-test: handle local hostname = "localhost.localdomain" Use the pattern "localhost*" for valid local hostnames. commit - e4a06844a3b0ad1bbb7307cbe40f7d2bfb2f1226 commit + 9e48f3f8f8c312ee20caef70cfb377a0d89260bb blob - 7024d5ff74efa3c3a51d674d30bc13c9f748593e blob + 2aed6944f2ebd60dcfa1bc9ecdcb1535113603b6 --- src/testsuite/whois-test.e +++ src/testsuite/whois-test.e @@ -17,31 +17,31 @@ expect { send "whois nick\r" expect { timeout { exit 1 } - "311 nick nick ~user localhost \* :Real Name\r" + "311 nick nick ~user localhost* \* :Real Name\r" } send "whois *\r" expect { timeout { exit 1 } - "311 nick nick ~user localhost \* :Real Name\r" + "311 nick nick ~user localhost* \* :Real Name\r" } send "whois n*\r" expect { timeout { exit 1 } - "311 nick nick ~user localhost \* :Real Name\r" + "311 nick nick ~user localhost* \* :Real Name\r" } send "whois ?ick\r" expect { timeout { exit 1 } - "311 nick nick ~user localhost \* :Real Name\r" + "311 nick nick ~user localhost* \* :Real Name\r" } send "whois ????,n?*k\r" expect { timeout { exit 1 } - "311 nick nick ~user localhost \* :Real Name\r" + "311 nick nick ~user localhost* \* :Real Name\r" } send "quit\r"