projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bn/asm/rsaz-*.pl: allow spaces in Perl path name.
[oweals/openssl.git]
/
test
/
tpkcs7d
diff --git
a/test/tpkcs7d
b/test/tpkcs7d
index 18f9311b0689ed3a02170b83fb7b2b9da4a7da62..d4bfbdf1cd6d647b8db60d5f80a4056f7af0e16b 100644
(file)
--- a/
test/tpkcs7d
+++ b/
test/tpkcs7d
@@
-1,13
+1,6
@@
#!/bin/sh
#!/bin/sh
-if test "$OSTYPE" = msdosdjgpp; then
- PATH=../apps\;$PATH
-else
- PATH=../apps:$PATH
-fi
-export PATH
-
-cmd='../apps/openssl pkcs7'
+cmd='../util/shlib_wrap.sh ../apps/openssl pkcs7'
if [ "$1"x != "x" ]; then
t=$1
if [ "$1"x != "x" ]; then
t=$1
@@
-16,33
+9,33
@@
else
fi
echo "testing pkcs7 conversions (2)"
fi
echo "testing pkcs7 conversions (2)"
-cp $t fff.p
+cp $t
p7d-
fff.p
echo "p -> d"
echo "p -> d"
-$cmd -in
fff.p -inform p -outform d >
f.d
+$cmd -in
p7d-fff.p -inform p -outform d >p7d-
f.d
if [ $? != 0 ]; then exit 1; fi
echo "p -> p"
if [ $? != 0 ]; then exit 1; fi
echo "p -> p"
-$cmd -in
fff.p -inform p -outform p >
f.p
+$cmd -in
p7d-fff.p -inform p -outform p >p7d-
f.p
if [ $? != 0 ]; then exit 1; fi
echo "d -> d"
if [ $? != 0 ]; then exit 1; fi
echo "d -> d"
-$cmd -in
f.d -inform d -outform d >
ff.d1
+$cmd -in
p7d-f.d -inform d -outform d >p7d-
ff.d1
if [ $? != 0 ]; then exit 1; fi
echo "p -> d"
if [ $? != 0 ]; then exit 1; fi
echo "p -> d"
-$cmd -in
f.p -inform p -outform d >
ff.d3
+$cmd -in
p7d-f.p -inform p -outform d >p7d-
ff.d3
if [ $? != 0 ]; then exit 1; fi
echo "d -> p"
if [ $? != 0 ]; then exit 1; fi
echo "d -> p"
-$cmd -in
f.d -inform d -outform p >
ff.p1
+$cmd -in
p7d-f.d -inform d -outform p >p7d-
ff.p1
if [ $? != 0 ]; then exit 1; fi
echo "p -> p"
if [ $? != 0 ]; then exit 1; fi
echo "p -> p"
-$cmd -in
f.p -inform p -outform p >
ff.p3
+$cmd -in
p7d-f.p -inform p -outform p >p7d-
ff.p3
if [ $? != 0 ]; then exit 1; fi
if [ $? != 0 ]; then exit 1; fi
-cmp
f.p
ff.p1
+cmp
p7d-f.p p7d-
ff.p1
if [ $? != 0 ]; then exit 1; fi
if [ $? != 0 ]; then exit 1; fi
-cmp
f.p
ff.p3
+cmp
p7d-f.p p7d-
ff.p3
if [ $? != 0 ]; then exit 1; fi
if [ $? != 0 ]; then exit 1; fi
-/bin/rm -f
f.* ff.*
fff.*
+/bin/rm -f
p7d-f.* p7d-ff.* p7d-
fff.*
exit 0
exit 0