From 7e7c247f223cfb3987056ace41750d3e719edc0c Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Thu, 6 Dec 2018 20:40:15 +1100 Subject: * 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 --- runtest.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtest.exp') 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. -- cgit v1.1