3 if test "$OSTYPE" = msdosdjgpp
; then
10 cmd
='../apps/openssl x509'
12 if [ "$1"x
!= "x" ]; then
18 echo testing X509 conversions
22 $cmd -in fff.p
-inform p
-outform d
>f.d
23 if [ $?
!= 0 ]; then exit 1; fi
25 $cmd -in fff.p
-inform p
-outform n
>f.n
26 if [ $?
!= 0 ]; then exit 1; fi
28 $cmd -in fff.p
-inform p
-outform p
>f.p
29 if [ $?
!= 0 ]; then exit 1; fi
32 $cmd -in f.d
-inform d
-outform d
>ff.d1
33 if [ $?
!= 0 ]; then exit 1; fi
35 $cmd -in f.n
-inform n
-outform d
>ff.d2
36 if [ $?
!= 0 ]; then exit 1; fi
38 $cmd -in f.p
-inform p
-outform d
>ff.d3
39 if [ $?
!= 0 ]; then exit 1; fi
42 $cmd -in f.d
-inform d
-outform n
>ff.n1
43 if [ $?
!= 0 ]; then exit 1; fi
45 $cmd -in f.n
-inform n
-outform n
>ff.n2
46 if [ $?
!= 0 ]; then exit 1; fi
48 $cmd -in f.p
-inform p
-outform n
>ff.n3
49 if [ $?
!= 0 ]; then exit 1; fi
52 $cmd -in f.d
-inform d
-outform p
>ff.p1
53 if [ $?
!= 0 ]; then exit 1; fi
55 $cmd -in f.n
-inform n
-outform p
>ff.p2
56 if [ $?
!= 0 ]; then exit 1; fi
58 $cmd -in f.p
-inform p
-outform p
>ff.p3
59 if [ $?
!= 0 ]; then exit 1; fi
62 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
78 if [ $?
!= 0 ]; then exit 1; fi
80 if [ $?
!= 0 ]; then exit 1; fi
82 if [ $?
!= 0 ]; then exit 1; fi
84 /bin
/rm -f f.
* ff.
* fff.
*