send output to /dev/null from cmp since the output should always be different

This commit is contained in:
Love Hornquist Astrand
2011-09-23 13:08:54 +02:00
parent 2daeea4feb
commit df1e4c388a

View File

@@ -78,7 +78,8 @@ for a in unix fortuna egd w32crypto ;do
echo "random metod $a out for dinner"
continue
fi
cmp crypto-test crypto-test2 && { echo "rand output same!" ; exit 1; }
cmp crypto-test crypto-test2 >/dev/null 2>/dev/null && \
{ echo "rand output same!" ; exit 1; }
done
./example_evp_cipher 1 ${srcdir}/test_crypto.in test-out-1 || \