summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-03-16 19:10:02 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-03-16 19:10:02 +0000
commit3667a6f5b354484301d1e862e8281cd466a0fe88 (patch)
tree86ef6d01ad7564c4db36ae9d7e04cb014c4328c4 /test
parentdeb21fbae9015e6829afc3627727a64e02f0d3e1 (diff)
Adapt to diffrent OpenSSL utility locations.
Diffstat (limited to 'test')
-rw-r--r--test/runex.pl15
1 files changed, 14 insertions, 1 deletions
diff --git a/test/runex.pl b/test/runex.pl
index 25ae879d76..5e460a30ad 100644
--- a/test/runex.pl
+++ b/test/runex.pl
@@ -58,10 +58,23 @@ use MIME::Base64;
my $badttest = 0;
my $verbose = 1;
-my $cmscmd = "../util/shlib_wrap.sh ../apps/openssl cms";
+my $cmscmd;
my $exdir = "./";
my $exfile = "./rfc4134.txt";
+if (-f "../apps/openssl")
+ {
+ $cmscmd = "../util/shlib_wrap.sh ../apps/openssl cms";
+ }
+elsif (-f "..\\out32dll\\openssl.exe")
+ {
+ $cmscmd = "..\\out32dll\\openssl.exe cms";
+ }
+elsif (-f "..\\out32\\openssl.exe")
+ {
+ $cmscmd = "..\\out32\\openssl.exe cms";
+ }
+
my @test_list = (
[ "3.1.bin" => "dataout" ],
[ "3.2.bin" => "encode, dataout" ],