* gdb.base/args.exp: Fix regular expression.
This commit is contained in:
parent
8a2dbca8e1
commit
0d195a4f2d
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue