This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed, PATCH] Remove "/dev/null" from remote_exec
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Mon, 6 Apr 2015 09:03:27 -0700
- Subject: [committed, PATCH] Remove "/dev/null" from remote_exec
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
We should catch all errors/warnings from cmp.
* binutils-all/compress.exp (compression_used): Remove "/dev/null"
from remote_exec.
---
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 {
--
1.9.3