From: Jan Kratochvil Date: Tue, 7 Aug 2012 05:49:02 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=606603c5202ba82299302d42f8eef65425f09b09;p=binutils-gdb.git gdb/testsuite/ * gdb.base/default.exp (cd): Accept new directory with no arguments. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a85ea17afaa..1446fcfb497 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-08-07 Jan Kratochvil + + * gdb.base/default.exp (cd): Accept new directory with no arguments. + 2012-08-06 Jan Kratochvil * 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 73fbe98fb49..138cc03e98e 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"