Make the error message for "we didn't get the error message we expected"
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 21 Nov 2012 19:04:21 +0000 (19:04 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 21 Nov 2012 19:04:21 +0000 (19:04 +0000)
clearer - it's not as if we didn't expect to get an error message, we
just didn't expect to get *that particular* error message.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@46118 f5534014-38df-0310-8fa8-9805f1628bb7

test/suite-clopts.sh

index 3b93386f0db3ff95af24a8d50cdcdc42f84b5eba..3ad08594815d116b25f05cfb55680678cb92aa4b 100755 (executable)
@@ -102,7 +102,7 @@ clopts_step_dumpcap_invalid_capfilter() {
                        test_step_ok
                else
                        test_step_output_print ./testout.txt
-                       test_step_failed "Unexpected error message"
+                       test_step_failed "Error message wasn't what we expected"
                fi
        fi
 }
@@ -120,7 +120,7 @@ clopts_step_dumpcap_invalid_interfaces() {
                        test_step_ok
                else
                        test_step_output_print ./testout.txt
-                       test_step_failed "Unexpected error message"
+                       test_step_failed "Error message wasn't what we expected"
                fi
        fi
 }
@@ -138,7 +138,7 @@ clopts_step_dumpcap_invalid_interfaces_index() {
                        test_step_ok
                else
                        test_step_output_print ./testout.txt
-                       test_step_failed "Unexpected error message"
+                       test_step_failed "Error message wasn't what we expected"
                fi
        fi
 }
@@ -221,7 +221,7 @@ clopts_step_tshark_invalid_capfilter() {
                        test_step_ok
                else
                        test_step_output_print ./testout.txt
-                       test_step_failed "Unexpected error message"
+                       test_step_failed "Error message wasn't what we expected"
                fi
        fi
 }
@@ -239,7 +239,7 @@ clopts_step_tshark_invalid_interfaces() {
                        test_step_ok
                else
                        test_step_output_print ./testout.txt
-                       test_step_failed "Unexpected error message"
+                       test_step_failed "Error message wasn't what we expected"
                fi
        fi
 }
@@ -257,7 +257,7 @@ clopts_step_tshark_invalid_interfaces_index() {
                        test_step_ok
                else
                        test_step_output_print ./testout.txt
-                       test_step_failed "Unexpected error message"
+                       test_step_failed "Error message wasn't what we expected"
                fi
        fi
 }