* gdb.base/signals.exp: Add test for "handle all print".
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 21 Mar 1995 22:02:06 +0000 (22:02 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 21 Mar 1995 22:02:06 +0000 (22:02 +0000)
* TODO: Remove "handle all print".  Also remove item about
checking copyright date (I don't like the idea of a spurious FAIL
based on when we run the tests).

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/signals.exp

index 291d5c57196f5ad9c7eab8a98c5d62841928e3fe..a1473cf0667c188749160f71af0f8a437ae76d64 100644 (file)
@@ -1,5 +1,10 @@
 Tue Mar 21 12:14:12 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * gdb.base/signals.exp: Add test for "handle all print".
+       * TODO: Remove "handle all print".  Also remove item about
+       checking copyright date (I don't like the idea of a spurious FAIL
+       based on when we run the tests).
+
        * gdb.base/recurse.exp: Enable test for SunOS4.  xfail one test
        for SunOS4 (reason for failure not investigated).  Remove
        redundant test for $binfile.
index c87d27049abaafd32b13f2c31aeff3c4697618fc..c222972e30f45a4f0686981a988747348e374a1b 100644 (file)
@@ -185,7 +185,7 @@ proc signal_tests_1 {} {
        expect {
            -re "Breakpoint.*func2.*$prompt $" { pass "continue to func2" }
            -re "Breakpoint.*func1.*$prompt $" {
-               fail "continue func2"
+               fail "continue to func2"
                gdb_test "continue" "Breakpoint.*func2.*" \
                    "extra continue to func2"
            }
@@ -244,6 +244,14 @@ if {[ istarget "m68*-motorola-*" ] || [ istarget "hppa*-*-bsd*" ] ||
   return 0
 }
 
+gdb_exit
+gdb_start
+
+# This will need to be updated as the exact list of signals changes,
+# but I want to test that TARGET_SIGNAL_0, TARGET_SIGNAL_DEFAULT, and
+# TARGET_SIGNAL_UNKNOWN are skipped.
+gdb_test "handle all print" "Signal        Stop        Print   Pass to program Description\r\nSIGHUP        Yes        Yes     Yes             Hangup.*SIG63         Yes       Yes     Yes             Real-time event 63"
+
 gdb_exit
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
This page took 0.029218 seconds and 4 git commands to generate.