diff options
author | Jacob Bachmeyer <jcb62281@gmail.com> | 2018-12-06 20:40:15 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2018-12-06 20:40:15 +1100 |
commit | 7e7c247f223cfb3987056ace41750d3e719edc0c (patch) | |
tree | c2ae042adc83afbb98dbad1cfdad0a634a353983 /runtest.exp | |
parent | d439887f64b9c7c146d9a9062b459d08c43f2a12 (diff) |
* lib/remote.exp (standard_load): Fix typo on empty string.
* runtest.exp: Adjust expression to follow GNU conventions.
* lib/utils.exp (diff): Fix mistake in replacing [string compare]
with "eq" instead of "ne".
* testsuite/runtest.all/config.test: Likewise.
Signed-off-by: Ben Elliston <bje@gnu.org>
Diffstat (limited to 'runtest.exp')
-rw-r--r-- | runtest.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtest.exp b/runtest.exp index 1fa36fe..2103c8b 100644 --- a/runtest.exp +++ b/runtest.exp @@ -1727,8 +1727,8 @@ foreach current_target $target_list { set temp_top_dirs "" set prev_dir "" foreach dir "${test_top_dirs}" { - if {$prev_dir eq "" || \ - [string first "${prev_dir}/" ${dir}] == -1} { + if { $prev_dir eq "" + || [string first "${prev_dir}/" ${dir}] == -1 } { # the first top dir entry, or an entry that # does not share the previous entry's entire # pathname, record it as a valid top dir entry. |