Browse Source

* lib/remote.exp (remote_exec): Restore original timeout value.

Signed-off-by: Ben Elliston <bje@gnu.org>
dejagnu-1.6
Yvan Roux 11 years ago
committed by Ben Elliston
parent
commit
6aa75b1c0c
  1. 4
      ChangeLog
  2. 5
      lib/remote.exp

4
ChangeLog

@ -1,3 +1,7 @@
2016-03-05 Yvan Roux <yvan.roux@linaro.org>
* lib/remote.exp (remote_exec): Restore original timeout value.
2016-03-04 Yvan Roux <yvan.roux@linaro.org>
* lib/remote.exp (standard_upload): Remove dead code.

5
lib/remote.exp

@ -310,13 +310,14 @@ proc remote_exec { hostname program args } {
# Run it locally if appropriate.
if { ![is_remote $hostname] } {
return [local_exec "$program $pargs" $inp $outp $timeout]
set result [local_exec "$program $pargs" $inp $outp $timeout]
} else {
return [call_remote "" exec $hostname $program $pargs $inp $outp]
set result [call_remote "" exec $hostname $program $pargs $inp $outp]
}
# Restore timeout.
set timeout $old_timeout
return $result
}
proc standard_exec { hostname args } {

Loading…
Cancel
Save