aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/args.exp
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 /gdb/testsuite/gdb.base/args.exp
parent8a2dbca8e1673fc826e7d898bb7f53862dcd8216 (diff)
downloadbinutils-0d195a4f2da4e55d6302c7b56850c92c96af0508.zip
binutils-0d195a4f2da4e55d6302c7b56850c92c96af0508.tar.gz
binutils-0d195a4f2da4e55d6302c7b56850c92c96af0508.tar.bz2
* gdb.base/args.exp: Fix regular expression.
Diffstat (limited to 'gdb/testsuite/gdb.base/args.exp')
-rw-r--r--gdb/testsuite/gdb.base/args.exp6
1 files changed, 3 insertions, 3 deletions
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