diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-08-07 05:49:02 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-08-07 05:49:02 +0000 |
commit | 606603c5202ba82299302d42f8eef65425f09b09 (patch) | |
tree | 82109969f66df68f5a0d23d0d3ed1fbaf1ad45d4 /gdb | |
parent | 4abf930d56696682de3fc8e498a4811a3f4b0878 (diff) | |
download | gdb-606603c5202ba82299302d42f8eef65425f09b09.zip gdb-606603c5202ba82299302d42f8eef65425f09b09.tar.gz gdb-606603c5202ba82299302d42f8eef65425f09b09.tar.bz2 |
gdb/testsuite/
* gdb.base/default.exp (cd): Accept new directory with no arguments.
Diffstat (limited to 'gdb')
-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" |