aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-parameter.exp
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-04-15 21:32:57 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-04-15 21:33:58 +0100
commitfd5c30cde5f33c67798581960e60461dc6585a46 (patch)
tree772dc95bb30e5632b7542e551099549b34d76262 /gdb/testsuite/gdb.python/py-parameter.exp
parent41f14dc86235e2685ee863e0b979309cdcaa6f72 (diff)
downloadbinutils-fd5c30cde5f33c67798581960e60461dc6585a46.zip
binutils-fd5c30cde5f33c67798581960e60461dc6585a46.tar.gz
binutils-fd5c30cde5f33c67798581960e60461dc6585a46.tar.bz2
gdb/testsuite: don't include paths in test names
Give a test a proper name in order to avoid including a path in the test name. gdb/testsuite/ChangeLog: * gdb.python/py-parameter.exp: Give a test a proper name to avoid including a path in the test name.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-parameter.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-parameter.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-parameter.exp b/gdb/testsuite/gdb.python/py-parameter.exp
index 5543b21..84ad70e 100644
--- a/gdb/testsuite/gdb.python/py-parameter.exp
+++ b/gdb/testsuite/gdb.python/py-parameter.exp
@@ -78,7 +78,8 @@ gdb_test "show data-directory" \
"check modified data-directory at the CLI"
# Now lets set the data-directory back to what it was initially.
-gdb_test_no_output "set data-directory ${dd}"
+gdb_test_no_output "set data-directory ${dd}" \
+ "set data-directory back to its original value"
# And check we see the restored value at CLI and from Python.
gdb_test "show data-directory" \