diff options
author | Jacob Bachmeyer <jcb62281+dev@gmail.com> | 2020-05-28 21:04:50 -0500 |
---|---|---|
committer | Jacob Bachmeyer <jcb62281+dev@gmail.com> | 2020-05-28 21:04:50 -0500 |
commit | 6a5b5861457230cc9ff5e01dc2ad3e1435051b93 (patch) | |
tree | 7122ad472e859d25e5442c88a6ee96270a9c9dcb | |
parent | 9533507ea4ad9addd4b593bcf1004496f4b22da4 (diff) | |
download | dejagnu-6a5b5861457230cc9ff5e01dc2ad3e1435051b93.zip dejagnu-6a5b5861457230cc9ff5e01dc2ad3e1435051b93.tar.gz dejagnu-6a5b5861457230cc9ff5e01dc2ad3e1435051b93.tar.bz2 |
Show the user's login name shortly after finding it
Previously, two procedures were defined between setting logname and
reporting its value if verbosity is selected. This does not change
program flow, but will make the code easier to examine in the future.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | runtest.exp | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2020-05-28 Jacob Bachmeyer <jcb62281+dev@gmail.com> + * runtest.exp (logname): Move verbose display of logname to + immediately after finding the user's login name. + PR 41585 * runtest.exp (libdir): Fix default value of global variable. diff --git a/runtest.exp b/runtest.exp index 9380732..5a3cf54 100644 --- a/runtest.exp +++ b/runtest.exp @@ -575,6 +575,8 @@ if { $logname eq "" } { } } +verbose "Login name is $logname" + # # lookfor_file -- try to find a file by searching up multiple directory levels # @@ -620,8 +622,6 @@ proc load_lib { file } { } } -verbose "Login name is $logname" - # # Begin sourcing the config files. # All are sourced in order. |