Do not use redirection on binary files
authorRichard Levitte <levitte@openssl.org>
Thu, 14 Jan 2016 12:15:45 +0000 (13:15 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 14 Jan 2016 12:15:45 +0000 (13:15 +0100)
commit9b56815d5f91180e2092d3e578054b8099100a48
tree21ee40561726f01fc65adba7443e8e535ca85c0e
parent67949615d25ead969c12e0f39370fef866df1704
Do not use redirection on binary files

On some platforms, the shell will determine what attributes a file
will have, so while the program might think it's safely outputting
binary data, it's not always true.

For the sake of the tests, it's therefore safer to use -out than to
use redirection.

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/recipes/20-test_enc.t
test/recipes/tconversion.pl