From 6bf53072e9bb76a53b38c1be4226de67af3adba2 Mon Sep 17 00:00:00 2001 From: Wilfried Moser Date: Wed, 6 Mar 1996 07:44:46 +0000 Subject: * 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'). --- gdb/testsuite/gdb.chill/tests1.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/testsuite/gdb.chill/tests1.exp') 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)" \ -- cgit v1.2.1