Revert "Sync readline/ to version 7.0 alpha"
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.gdb / selftest.exp
index 706fca99aff6aebd0904b18e285ba18065640da9..9f25a48bae2d7e4c8381d4fa8c471e4ac1aaa411 100644 (file)
@@ -444,26 +444,9 @@ proc test_with_self { executable } {
     }
     
     set description "send SIGINT signal to child process"
-    gdb_test_multiple "signal SIGINT" "$description" {
-       -re "^signal SIGINT\r\nContinuing with signal SIGINT.\r\nQuit\r\n.* $" {
-           pass "$description"
-       }
-    }
-
-    set description "send ^C to child process again"
-    send_gdb "\003"
-    gdb_expect {
-       -re "Program received signal SIGINT.*$gdb_prompt $" {
-           pass "$description"
-       }
-       -re ".*$gdb_prompt $" {
-           fail "$description"
-       }
-       timeout {
-           fail "$description (timeout)"
-       }
-    }
-
+    gdb_test "signal SIGINT" \
+       "Continuing with signal SIGINT.*" \
+       "$description"
     
     # get a stack trace
     #
This page took 0.025913 seconds and 4 git commands to generate.