diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-06-17 09:41:58 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-06-17 09:41:58 -0400 |
commit | d30e32637d2993aab95a2a1848b045b7bfd90473 (patch) | |
tree | be22c78feda6c0b8aef26e9fc6d4d7583a187efd | |
parent | c4ddc1daef6e5f640500655dde6bb1acad13c38a (diff) | |
download | gdb-d30e32637d2993aab95a2a1848b045b7bfd90473.zip gdb-d30e32637d2993aab95a2a1848b045b7bfd90473.tar.gz gdb-d30e32637d2993aab95a2a1848b045b7bfd90473.tar.bz2 |
gdb/testsuite: gdb.base/args.exp: remove trailing parenthesis in test names
Some test names end with a parenthesis, we don't want that:
https://sourceware.org/gdb/wiki/GDBTestcaseCookbook#Do_not_use_.22tail_parentheses.22_on_test_messages
Fix that.
gdb/testsuite/ChangeLog:
* gdb.base/args.exp: Remove trailing parenthesis in test names.
Change-Id: I0306ea202bae3a4ed5bf0bd65e0ab5ed5de52fe1
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/args.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 85ea359..1eb42e7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2021-06-17 Simon Marchi <simon.marchi@efficios.com> + * gdb.base/args.exp: Remove trailing parenthesis in test names. + +2021-06-17 Simon Marchi <simon.marchi@efficios.com> + * gdb.base/args.exp: Use $old_gdbflags in all tests. 2021-06-17 Simon Marchi <simon.marchi@efficios.com> diff --git a/gdb/testsuite/gdb.base/args.exp b/gdb/testsuite/gdb.base/args.exp index e4cba65..e76368f 100644 --- a/gdb/testsuite/gdb.base/args.exp +++ b/gdb/testsuite/gdb.base/args.exp @@ -85,10 +85,10 @@ save_vars { GDBFLAGS } { # Try with arguments containing literal single quotes. set GDBFLAGS "$old_gdbflags --args $binfile 1 '' 3" - args_test "one empty (with single quotes)" {{1} {''} {3}} + args_test "one empty with single quotes" {{1} {''} {3}} set GDBFLAGS "$old_gdbflags --args $binfile 1 '' '' 3" - args_test "two empty (with single quotes)" {{1} {''} {''} {3}} + args_test "two empty with single quotes" {{1} {''} {''} {3}} # try with arguments containing literal newlines. |