Remove "/dev/null" from remote_exec

We should catch all errors/warnings from cmp.

	* binutils-all/compress.exp (compression_used): Remove "/dev/null"
	from remote_exec.
This commit is contained in:
H.J. Lu 2015-04-06 08:59:15 -07:00
parent 85317fbbca
commit fd5136e57c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/compress.exp (compression_used): Remove "/dev/null"
from remote_exec.
2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/compress.exp (compression_used): New.

View File

@ -39,7 +39,7 @@ if { ![binutils_assemble_flags $srcdir/$subdir/dw2-1.S ${compressedfile}.o --com
return
}
set got [remote_exec host "cmp ${testfile}.o ${compressedfile}.o" "" "/dev/null"]
set got [remote_exec host "cmp ${testfile}.o ${compressedfile}.o"]
# Use it to set up xfail.
set exec_output [lindex $got 1]
if [string match "" $exec_output] then {