We should catch all errors/warnings from cmp.
	* binutils-all/compress.exp (compression_used): Remove "/dev/null"
	from remote_exec.
+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.
 
     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 {