diff options
| author | Alexander Barton <alex@barton.de> | 2011-11-10 11:54:22 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-11-10 11:54:22 +0100 |
| commit | 9e48f3f8f8c312ee20caef70cfb377a0d89260bb (patch) | |
| tree | 22517a6f983bb7c5f6779ed1697399d0e73b6fea /src | |
| parent | e4a06844a3b0ad1bbb7307cbe40f7d2bfb2f1226 (diff) | |
| download | ngircd-9e48f3f8f8c312ee20caef70cfb377a0d89260bb.tar.gz ngircd-9e48f3f8f8c312ee20caef70cfb377a0d89260bb.zip | |
whois-test: handle local hostname = "localhost.localdomain"
Use the pattern "localhost*" for valid local hostnames.
Diffstat (limited to 'src')
| -rw-r--r-- | src/testsuite/whois-test.e | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testsuite/whois-test.e b/src/testsuite/whois-test.e index 7024d5ff..2aed6944 100644 --- a/src/testsuite/whois-test.e +++ b/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" |