This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Remove "/dev/null" from remote_exec
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 6 Apr 2015 16:03:13 -0000
- Subject: [binutils-gdb] Remove "/dev/null" from remote_exec
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fd5136e57ca26072fa015a7563ba019b1b2b7d73
commit fd5136e57ca26072fa015a7563ba019b1b2b7d73
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Apr 6 08:59:15 2015 -0700
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.
Diff:
---
binutils/testsuite/ChangeLog | 5 +++++
binutils/testsuite/binutils-all/compress.exp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index ff77d51..65a22d8 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -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.
diff --git a/binutils/testsuite/binutils-all/compress.exp b/binutils/testsuite/binutils-all/compress.exp
index f170aea..b4a9468 100644
--- a/binutils/testsuite/binutils-all/compress.exp
+++ b/binutils/testsuite/binutils-all/compress.exp
@@ -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 {