diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/framework.exp | 6 | ||||
-rw-r--r-- | lib/remote.exp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/framework.exp b/lib/framework.exp index bf9823f..5879ea6 100644 --- a/lib/framework.exp +++ b/lib/framework.exp @@ -72,7 +72,7 @@ proc open_logs { } { catch "file delete -force -- $outdir/$tool.log" log_file -a $outdir/$tool.log verbose "Opening log files in $outdir" - if { $tool == "testrun" } { + if { $tool eq "testrun" } { set tool "" } fconfigure $sum_file -buffering line @@ -133,9 +133,9 @@ proc is_remote { board } { set board [lindex [split $board "/"] 0] # Map the host or build back into their short form. - if { [board_info build name] == $board } { + if { [board_info build name] eq $board } { set board "build" - } elseif { [board_info host name] == $board } { + } elseif { [board_info host name] eq $board } { set board "host" } diff --git a/lib/remote.exp b/lib/remote.exp index 0e5bad2..f496845 100644 --- a/lib/remote.exp +++ b/lib/remote.exp @@ -497,7 +497,7 @@ proc standard_download {dest file destfile} { if { $dest ne "" } { set result [rsh_download $dest $file $destfile] - if { $result == $destfile } { + if { $result eq $destfile } { return $orig_destfile } else { return $result @@ -529,7 +529,7 @@ proc remote_upload {dest srcfile args} { } if { ![isremote $dest] } { - if { $destfile eq "" || $srcfile == $destfile } { + if { $destfile eq "" || $srcfile eq $destfile } { return $srcfile } set result [catch "exec cp -p $srcfile $destfile" output] |