aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-20 14:42:15 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-03-20 14:42:15 +0000
commit0d195a4f2da4e55d6302c7b56850c92c96af0508 (patch)
tree7821751a31158722761bc714604fa64985d0e618
parent8a2dbca8e1673fc826e7d898bb7f53862dcd8216 (diff)
downloadgdb-0d195a4f2da4e55d6302c7b56850c92c96af0508.zip
gdb-0d195a4f2da4e55d6302c7b56850c92c96af0508.tar.gz
gdb-0d195a4f2da4e55d6302c7b56850c92c96af0508.tar.bz2
* gdb.base/args.exp: Fix regular expression.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/args.exp6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d94802a..cceef9d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
+ * gdb.base/args.exp: Fix regular expression.
+
+2003-03-20 Corinna Vinschen <vinschen@redhat.com>
+
* gdb.base/help.exp: Allow Win32 child process.
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
diff --git a/gdb/testsuite/gdb.base/args.exp b/gdb/testsuite/gdb.base/args.exp
index 505a694..e481ecb 100644
--- a/gdb/testsuite/gdb.base/args.exp
+++ b/gdb/testsuite/gdb.base/args.exp
@@ -48,7 +48,7 @@ gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_test "run" \
- "Starting program.*args(\.exe)? 1 3.*3\r\n.*args\r\n1\r\n3.*Program exited normally." \
+ "Starting program.*args(\\.exe)? 1 3.*3\r\n.*args\r\n1\r\n3.*Program exited normally." \
"correct args printed"
#
@@ -59,7 +59,7 @@ gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_test "run" \
- "Starting program.*args(\.exe)? 1 \\\\'\\\\' 3.*4\r\n.*args\r\n1\r\n''\r\n3.*Program exited normally." \
+ "Starting program.*args(\\.exe)? 1 \\\\'\\\\' 3.*4\r\n.*args\r\n1\r\n''\r\n3.*Program exited normally." \
"correct args printed, one empty"
#
@@ -70,7 +70,7 @@ gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_test "run" \
- "Starting program.*args(\.exe)? 1 \\\\'\\\\' \\\\'\\\\' 3.*5\r\n.*args\r\n1\r\n''\r\n''\r\n3.*Program exited normally." \
+ "Starting program.*args(\\.exe)? 1 \\\\'\\\\' \\\\'\\\\' 3.*5\r\n.*args\r\n1\r\n''\r\n''\r\n3.*Program exited normally." \
"correct args printed, two empty"
set GDBFLAGS $old_gdbflags