diff options
| author | Alexander Barton <alex@barton.de> | 2005-12-30 22:12:28 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2005-12-30 22:12:28 +0000 |
| commit | db9afbbf0e890f4f84f908e733a74f28e565ff4b (patch) | |
| tree | 0e1c5ac17e44b7669c7a7136dcd8cc07e2c0c043 /src/testsuite/stress-B.e | |
| parent | e1b9409e632b1ff70cced6bc666bbb599284559b (diff) | |
| download | ngircd-db9afbbf0e890f4f84f908e733a74f28e565ff4b.tar.gz ngircd-db9afbbf0e890f4f84f908e733a74f28e565ff4b.zip | |
Modified expect script to work with servers having IDENT support.
Diffstat (limited to 'src/testsuite/stress-B.e')
| -rw-r--r-- | src/testsuite/stress-B.e | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/testsuite/stress-B.e b/src/testsuite/stress-B.e index 5906fc32..e260c6d3 100644 --- a/src/testsuite/stress-B.e +++ b/src/testsuite/stress-B.e @@ -1,9 +1,9 @@ -# $Id: stress-B.e,v 1.2 2005/08/12 21:38:52 alex Exp $ +# $Id: stress-B.e,v 1.3 2005/12/30 22:12:28 alex Exp $ send "user user . . :User\r" expect { timeout { exit 1 } - "376" + " 376" } sleep 2 @@ -15,7 +15,7 @@ expect { } expect { timeout { exit 1 } - "381 test*" + " 381 test" } sleep 2 @@ -23,33 +23,33 @@ sleep 2 send "join #channel\r" expect { timeout { exit 1 } - ":test*!~user@* JOIN :#channel" + " 353 * = #channel " } expect { timeout { exit 1 } - "366" + " 366 * #channel :" } send "mode #channel\r" expect { timeout { exit 1 } - "324 test* #channel" + " 324 test* #channel" } send "join #channel2\r" expect { timeout { exit 1 } - ":test*!~user@* JOIN :#channel2" + " 353 * = #channel2 " } expect { timeout { exit 1 } - "366" + " 366 * #channel2 :" } send "names\r" expect { timeout { exit 1 } - "366" + " 366 " } sleep 3 @@ -57,15 +57,17 @@ sleep 3 send "part #channel2\r" expect { timeout { exit 1 } - ":test*!~user@* PART #channel2" + " PART #channel2 " } send "part #channel\r" expect { timeout { exit 1 } - ":test*!~user@* PART #channel" + " PART #channel " } +sleep 1 + send "quit\r" expect { timeout { exit 1 } |