send output to /dev/null from cmp since the output should always be different
This commit is contained in:
@@ -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 || \
|
||||
|
Reference in New Issue
Block a user