Browse Source

* lib/remote.exp (remote_download): Add logging message when

source and destination file differ in name.

Signed-off-by: Ben Elliston <bje@gnu.org>
dejagnu-1.6.1
Thomas Preud'homme 10 years ago
committed by Ben Elliston
parent
commit
f3817d617e
  1. 5
      ChangeLog
  2. 1
      lib/remote.exp

5
ChangeLog

@ -1,3 +1,8 @@
2017-03-11 Thomas Preud'homme <thomas.preudhomme@arm.com>
* lib/remote.exp (remote_download): Add logging message when
source and destination file differ in name.
2016-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* runtest.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.

1
lib/remote.exp

@ -440,6 +440,7 @@ proc remote_download { dest file args } {
if { $destfile == "" || $destfile == $file } {
return $file
} else {
verbose -log "Downloading on $dest to $destfile: $file" 2
set result [catch "exec cp -p $file $destfile" output]
if {[regexp "same file|are identical" $output]} {
set result 0

Loading…
Cancel
Save