aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb62281@gmail.com>2018-12-06 20:40:15 +1100
committerBen Elliston <bje@gnu.org>2018-12-06 20:40:15 +1100
commit7e7c247f223cfb3987056ace41750d3e719edc0c (patch)
treec2ae042adc83afbb98dbad1cfdad0a634a353983 /runtest.exp
parentd439887f64b9c7c146d9a9062b459d08c43f2a12 (diff)
downloaddejagnu-7e7c247f223cfb3987056ace41750d3e719edc0c.zip
dejagnu-7e7c247f223cfb3987056ace41750d3e719edc0c.tar.gz
dejagnu-7e7c247f223cfb3987056ace41750d3e719edc0c.tar.bz2
* 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.exp4
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.