diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/default.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a85ea17..1446fcf 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com> + + * gdb.base/default.exp (cd): Accept new directory with no arguments. + 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.base/list.exp (test_only_end): New function. diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index 73fbe98..138cc03 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -84,7 +84,7 @@ gdb_test "call" "The history is empty..*" "call" gdb_test "catch" "Catch requires an event name..*" "catch" #test cd -gdb_test "cd" "Argument required .new working directory.*" "cd" +gdb_test "cd" "Working directory \[^\r\n\]*\\." #test clear gdb_test "clear" "No source file specified..*" "clear" |