3 cmd='../util/shlib_wrap.sh ../apps/openssl crl'
5 if [ "$1"x != "x" ]; then
11 echo testing crl conversions
15 $cmd -in crl-fff.p -inform p -outform d >crl-f.d
16 if [ $? != 0 ]; then exit 1; fi
18 #$cmd -in crl-fff.p -inform p -outform t >crl-f.t
19 #if [ $? != 0 ]; then exit 1; fi
21 $cmd -in crl-fff.p -inform p -outform p >crl-f.p
22 if [ $? != 0 ]; then exit 1; fi
25 $cmd -in crl-f.d -inform d -outform d >crl-ff.d1
26 if [ $? != 0 ]; then exit 1; fi
28 #$cmd -in crl-f.t -inform t -outform d >crl-ff.d2
29 #if [ $? != 0 ]; then exit 1; fi
31 $cmd -in crl-f.p -inform p -outform d >crl-ff.d3
32 if [ $? != 0 ]; then exit 1; fi
35 #$cmd -in crl-f.d -inform d -outform t >crl-ff.t1
36 #if [ $? != 0 ]; then exit 1; fi
38 #$cmd -in crl-f.t -inform t -outform t >crl-ff.t2
39 #if [ $? != 0 ]; then exit 1; fi
41 #$cmd -in crl-f.p -inform p -outform t >crl-ff.t3
42 #if [ $? != 0 ]; then exit 1; fi
45 $cmd -in crl-f.d -inform d -outform p >crl-ff.p1
46 if [ $? != 0 ]; then exit 1; fi
48 #$cmd -in crl-f.t -inform t -outform p >crl-ff.p2
49 #if [ $? != 0 ]; then exit 1; fi
51 $cmd -in crl-f.p -inform p -outform p >crl-ff.p3
52 if [ $? != 0 ]; then exit 1; fi
55 if [ $? != 0 ]; then exit 1; fi
56 cmp crl-fff.p crl-ff.p1
57 if [ $? != 0 ]; then exit 1; fi
58 #cmp crl-fff.p crl-ff.p2
59 #if [ $? != 0 ]; then exit 1; fi
60 cmp crl-fff.p crl-ff.p3
61 if [ $? != 0 ]; then exit 1; fi
63 #cmp crl-f.t crl-ff.t1
64 #if [ $? != 0 ]; then exit 1; fi
65 #cmp crl-f.t crl-ff.t2
66 #if [ $? != 0 ]; then exit 1; fi
67 #cmp crl-f.t crl-ff.t3
68 #if [ $? != 0 ]; then exit 1; fi
71 if [ $? != 0 ]; then exit 1; fi
72 #cmp crl-f.p crl-ff.p2
73 #if [ $? != 0 ]; then exit 1; fi
75 if [ $? != 0 ]; then exit 1; fi
77 /bin/rm -f crl-f.* crl-ff.* crl-fff.*