diff options
author | Jacob Bachmeyer <jcb@gnu.org> | 2023-04-18 20:42:42 -0500 |
---|---|---|
committer | Jacob Bachmeyer <jcb@gnu.org> | 2023-04-18 20:42:42 -0500 |
commit | 890006e411a09c66b2deb45018592f3ed93a22f5 (patch) | |
tree | 84e2c942bb2328443352f6d3b4a649f0763b0765 /testsuite | |
parent | 865dc67cd4e4d24ac722b4a865bfe4597b765f54 (diff) |
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.exp | 4 |
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" |