diff --git a/testsuite/expect/test16.2 b/testsuite/expect/test16.2 index 5611f6054b5f659f9cac935def95cbeb69318e36..8505cf737a83d885a45b8f086e72b4dbff4d3387 100755 --- a/testsuite/expect/test16.2 +++ b/testsuite/expect/test16.2 @@ -47,10 +47,6 @@ expect { incr matches exp_continue } - -re "Help options" { - incr matches - exp_continue - } timeout { send_user "\nFAILURE: sattach not responding\n" set exit_code 1 @@ -60,7 +56,7 @@ expect { } } -if {$matches != 2} { +if {$matches != 1} { send_user "\nFAILURE: sattach failed to report help message\n" set exit_code 1 }