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