summaryrefslogtreecommitdiffstats
path: root/gdb/testsuite/gdb.chill/tests1.exp
diff options
context:
space:
mode:
authorWilfried Moser <moser@cygnus>1996-03-06 07:44:46 +0000
committerWilfried Moser <moser@cygnus>1996-03-06 07:44:46 +0000
commit6bf53072e9bb76a53b38c1be4226de67af3adba2 (patch)
tree2d3c78d4d0ec8e4e642677b5db9e6487ed71e1eb /gdb/testsuite/gdb.chill/tests1.exp
parentb4692cbc5e7a32aa7d87428771ad7a3436aef666 (diff)
downloadppe42-binutils-6bf53072e9bb76a53b38c1be4226de67af3adba2.tar.gz
ppe42-binutils-6bf53072e9bb76a53b38c1be4226de67af3adba2.zip
* gch922.{ch,exp}, powerset.{ch,exp}: New test cases.
* builtins.exp, chillvars.exp, misc.exp, tests1.exp: Updated due to new format of nonprintable characters (control sequence instead of C'xx').
Diffstat (limited to 'gdb/testsuite/gdb.chill/tests1.exp')
-rw-r--r--gdb/testsuite/gdb.chill/tests1.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.chill/tests1.exp b/gdb/testsuite/gdb.chill/tests1.exp
index 6b0c172471..5eea4258cf 100644
--- a/gdb/testsuite/gdb.chill/tests1.exp
+++ b/gdb/testsuite/gdb.chill/tests1.exp
@@ -505,12 +505,12 @@ proc test_locations {} {
test_print_accept "whatis strl1" "strm2" \
"print string locationa mode name"
test_print_accept "print strl1" \
- "\"hansi\"//c\"00\"" \
+ {\"hansi\^\(0\)\"} \
"print string location"
# string elements
test_print_accept "print strl1(0)" "\'h\'" \
"print string element 1"
- test_print_accept "print strl1(5)" "C\'00\'" \
+ test_print_accept "print strl1(5)" {'\^[(]0[)]'} \
"print string element 2"
test_print_accept "print strl1(3)" "\'s\'" \
"print string element 3"
@@ -520,12 +520,12 @@ proc test_locations {} {
test_print_accept "print strl1(3:4)" "\"si\"" \
"print string slice 1"
test_print_accept "print strl1(0:5)" \
- "\"hansi\"//c\"00\"" \
+ {\"hansi\^\(0\)\"} \
"print string slice 2"
test_print_accept "print strl1(0:0)" "\"h\"" \
"print string slice 3"
test_print_accept "print strl1(0 up 6)" \
- "\"hansi\"//c\"00\"" \
+ {\"hansi\^\(0\)\"} \
"print string slice 4"
# FIXME: adjust error message, when implented
gdb_test "print strl1(6 up 1)" \
OpenPOWER on IntegriCloud