From: H.J. Lu Date: Mon, 6 Apr 2015 15:59:15 +0000 (-0700) Subject: Remove "/dev/null" from remote_exec X-Git-Tag: users/hjl/linux/release/2.25.51.0.2~2^2~16^2~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd5136e57ca26072fa015a7563ba019b1b2b7d73;p=thirdparty%2Fbinutils-gdb.git 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 --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 {