From fd5136e57ca26072fa015a7563ba019b1b2b7d73 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 6 Apr 2015 08:59:15 -0700 Subject: [PATCH] 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. --- 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 ff77d5160d2..65a22d80589 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-04-06 H.J. Lu + + * binutils-all/compress.exp (compression_used): Remove "/dev/null" + from remote_exec. + 2015-04-05 H.J. Lu * binutils-all/compress.exp (compression_used): New. diff --git a/binutils/testsuite/binutils-all/compress.exp b/binutils/testsuite/binutils-all/compress.exp index f170aea07b5..b4a94688e94 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 { -- 2.30.2