diff options
author | Tom de Vries <tdevries@suse.de> | 2024-07-31 15:04:25 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-07-31 15:04:25 +0200 |
commit | c60b22e8edaeb7beffcf00c5616f4d4f12aae1be (patch) | |
tree | 7fe9a3678222784d8b99621dd9ce7d40c299c45d /gdb/testsuite/gdb.python/py-cmd.exp | |
parent | 35f09cd5d7fdd1a64f4d1751e73c3495bef1ed99 (diff) | |
download | gdb-c60b22e8edaeb7beffcf00c5616f4d4f12aae1be.zip gdb-c60b22e8edaeb7beffcf00c5616f4d4f12aae1be.tar.gz gdb-c60b22e8edaeb7beffcf00c5616f4d4f12aae1be.tar.bz2 |
[gdb/testsuite] Fix trailing-text-in-parentheses duplicates
Fix all trailing-text-in-parentheses duplicates exposed by previous patch.
Tested on x86_64-linux and aarch64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-cmd.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.python/py-cmd.exp b/gdb/testsuite/gdb.python/py-cmd.exp index 82cb4cb..b083a80 100644 --- a/gdb/testsuite/gdb.python/py-cmd.exp +++ b/gdb/testsuite/gdb.python/py-cmd.exp @@ -128,19 +128,19 @@ gdb_test "test_error_cmd ugh" "you lose!" "call error command" gdb_test "python print (gdb.string_to_argv (\"1 2 3\"))" \ {\['1', '2', '3'\]} \ - "string_to_argv (\"1 2 3\")" + "string_to_argv (\"1 2 3\"), case 1" gdb_test "python print (gdb.string_to_argv (\"'1 2' 3\"))" \ {\['1 2', '3'\]} \ - "string_to_argv (\"'1 2' 3\")" + "string_to_argv (\"'1 2' 3\"), case 2" gdb_test "python print (gdb.string_to_argv ('\"1 2\" 3'))" \ {\['1 2', '3'\]} \ - "string_to_argv ('\"1 2\" 3')" + "string_to_argv ('\"1 2\" 3'), case 3" gdb_test "python print (gdb.string_to_argv ('1\\ 2 3'))" \ {\['1 2', '3'\]} \ - "string_to_argv ('1\\ 2 3')" + "string_to_argv ('1\\ 2 3'), case 4" # Test user-defined python commands. gdb_test_multiline "input simple user-defined command" \ |