summaryrefslogtreecommitdiff
path: root/tests/slow/test-ciphers
diff options
context:
space:
mode:
Diffstat (limited to 'tests/slow/test-ciphers')
-rwxr-xr-xtests/slow/test-ciphers52
1 files changed, 26 insertions, 26 deletions
diff --git a/tests/slow/test-ciphers b/tests/slow/test-ciphers
index 0b66bb1f6f..fc21a8becf 100755
--- a/tests/slow/test-ciphers
+++ b/tests/slow/test-ciphers
@@ -21,56 +21,56 @@
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
unset RETCODE
-if ! test -z "${VALGRIND}";then
- VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}"
+if ! test -z "${VALGRIND}"; then
+ VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}"
fi
./cipher-test
-if test $? != 0;then
- echo "default cipher tests failed"
- exit 1
+if test $? != 0; then
+ echo "default cipher tests failed"
+ exit 1
fi
GNUTLS_CPUID_OVERRIDE=0x1 ./cipher-test
-if test $? != 0;then
- echo "included cipher tests failed"
- exit 1
+if test $? != 0; then
+ echo "included cipher tests failed"
+ exit 1
fi
GNUTLS_CPUID_OVERRIDE=0x2 ./cipher-test
-if test $? != 0;then
- echo "AESNI cipher tests failed"
- exit 1
+if test $? != 0; then
+ echo "AESNI cipher tests failed"
+ exit 1
fi
GNUTLS_CPUID_OVERRIDE=0x4 ./cipher-test
-if test $? != 0;then
- echo "SSSE3 cipher tests failed"
- exit 1
+if test $? != 0; then
+ echo "SSSE3 cipher tests failed"
+ exit 1
fi
GNUTLS_CPUID_OVERRIDE=0x8 ./cipher-test
-if test $? != 0;then
- echo "PCLMUL cipher tests failed"
- exit 1
+if test $? != 0; then
+ echo "PCLMUL cipher tests failed"
+ exit 1
fi
GNUTLS_CPUID_OVERRIDE=0x100000 ./cipher-test
-if test $? != 0;then
- echo "padlock cipher tests failed"
- exit 1
+if test $? != 0; then
+ echo "padlock cipher tests failed"
+ exit 1
fi
GNUTLS_CPUID_OVERRIDE=0x200000 ./cipher-test
-if test $? != 0;then
- echo "padlock PHE cipher tests failed"
- exit 1
+if test $? != 0; then
+ echo "padlock PHE cipher tests failed"
+ exit 1
fi
GNUTLS_CPUID_OVERRIDE=0x400000 ./cipher-test
-if test $? != 0;then
- echo "padlock PHE SHA512 cipher tests failed"
- exit 1
+if test $? != 0; then
+ echo "padlock PHE SHA512 cipher tests failed"
+ exit 1
fi
exit 0