aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2014-06-25 16:33:08 -0600
committerRob Savoye <rob@welcomehome.org>2014-06-25 16:33:08 -0600
commit45a1dbdf9a382b63d51fd28248be206c33f7afc0 (patch)
tree55c0aed3955b72339099da1a91f3421ff8072774 /runtest.exp
parentf4d01a7e996969d10fc263aa8dc82644cd149f3a (diff)
downloaddejagnu-45a1dbdf9a382b63d51fd28248be206c33f7afc0.zip
dejagnu-45a1dbdf9a382b63d51fd28248be206c33f7afc0.tar.gz
dejagnu-45a1dbdf9a382b63d51fd28248be206c33f7afc0.tar.bz2
Fix bug were none of the relative paths were actually being used for file lookup.
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 bd39dd8..9f0997f 100644
--- a/runtest.exp
+++ b/runtest.exp
@@ -571,8 +571,8 @@ if {[string match "" $logname]} {
# lookfor_file -- try to find a file by searching up multiple directory levels
#
proc lookfor_file { dir name } {
- foreach x ".. ../.. ../../.. ../../../.." {
- verbose "$dir/$name" 2
+ foreach x ". .. ../.. ../../.. ../../../.." {
+ verbose "$dir/$x/$name" 2
if {[file exists [file join $dir $name]]} {
return [file join $dir $name]
}