* gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
[binutils-gdb.git] / gdb / testsuite / gdb.base / a1-selftest.exp
index 14a4a06b5bd3f448a951a8fa8c9257c447215fbf..d22afb9934ce9450d3ab201601a85eb7c63e1ecf 100644 (file)
@@ -386,7 +386,7 @@ proc test_with_self {} {
     }
 
     # We'll need this when we send a ^C to GDB    
-    gdb_test "shell stty intr ^C" "" \
+    gdb_test "shell stty intr '^C'" "" \
        "set interrupt character in test_with_self"
 
     # start the "xgdb" process