aboutsummaryrefslogtreecommitdiff
path: root/tests/testdsa.sh
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2016-04-05 10:02:35 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2016-04-05 10:02:35 +0900
commitcf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106 (patch)
tree6575d049b78935abd41fa84140efb8a2ae7ca36d /tests/testdsa.sh
parent8131b377bffdacb8789c78ef31160b3bf4ee054b (diff)
downloadportable-cf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106.tar.gz
portable-cf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106.tar.bz2
portable-cf45f2bdfd82ed77f79f4b33e024fc7f0d5ea106.zip
execute tests that require srcdir environment variable with cmake
- uncomment procedures for aeadtest, evptest, pq_test, ssltest, testdsa and testrsa - add set_tests_properties() for setting environment variable srcdir - tweak openssl path in ssltest.sh, testdsa.sh, testenc.sh and testrsa.sh
Diffstat (limited to 'tests/testdsa.sh')
-rwxr-xr-xtests/testdsa.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/testdsa.sh b/tests/testdsa.sh
index ed681e7..7ecb8ef 100755
--- a/tests/testdsa.sh
+++ b/tests/testdsa.sh
@@ -4,9 +4,16 @@
4 4
5#Test DSA certificate generation of openssl 5#Test DSA certificate generation of openssl
6 6
7cmd=../apps/openssl/openssl 7if [ -d ../apps/openssl ]; then
8if [ -e ../apps/openssl/openssl.exe ]; then 8 cmd=../apps/openssl/openssl
9 cmd=../apps/openssl/openssl.exe 9 if [ -e ../apps/openssl/openssl.exe ]; then
10 cmd=../apps/openssl/openssl.exe
11 fi
12else
13 cmd=../apps/openssl
14 if [ -e ../apps/openssl.exe ]; then
15 cmd=../apps/openssl.exe
16 fi
10fi 17fi
11 18
12if [ -z $srcdir ]; then 19if [ -z $srcdir ]; then