aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb@gnu.org>2023-04-18 20:42:42 -0500
committerJacob Bachmeyer <jcb@gnu.org>2023-04-18 20:42:42 -0500
commit890006e411a09c66b2deb45018592f3ed93a22f5 (patch)
tree84e2c942bb2328443352f6d3b4a649f0763b0765 /testsuite
parent865dc67cd4e4d24ac722b4a865bfe4597b765f54 (diff)
downloaddejagnu-890006e411a09c66b2deb45018592f3ed93a22f5.zip
dejagnu-890006e411a09c66b2deb45018592f3ed93a22f5.tar.gz
dejagnu-890006e411a09c66b2deb45018592f3ed93a22f5.tar.bz2
Tighten --objdir option test
Previously, this test did not ensure that the command-line value for --objdir was in force immediately after loading the local init file. This allowed ::dejagnu::command_line::restore_cmd_vars to do nothing, yet the test would still pass.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/runtest.main/options.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/runtest.main/options.exp b/testsuite/runtest.main/options.exp
index 2e2d81c..4784377 100644
--- a/testsuite/runtest.main/options.exp
+++ b/testsuite/runtest.main/options.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1992-2016, 2018, 2020 Free Software Foundation, Inc.
+# Copyright (C) 1992-2016, 2018, 2020, 2023 Free Software Foundation, Inc.
#
# This file is part of DejaGnu.
#
@@ -64,7 +64,7 @@ set tests {
"Ignoring test foo.exp"
"--ignore option" }
{ "-v --objdir xXx"
- "Using test binaries in xXx"
+ "Using test binaries in xXx.*Testsuite root is"
"--objdir option" }
{ "-v --tool xXx"
"Testing xXx"