3 if ..
/util
/shlib_wrap.sh ..
/apps
/openssl no-rsa
; then
4 echo skipping rsa conversion
test
8 cmd
='../util/shlib_wrap.sh ../apps/openssl rsa'
10 if [ "$1"x
!= "x" ]; then
16 echo testing rsa conversions
20 $cmd -in fff.p
-inform p
-outform d
>f.d
21 if [ $?
!= 0 ]; then exit 1; fi
23 #$cmd -in fff.p -inform p -outform t >f.t
24 #if [ $? != 0 ]; then exit 1; fi
26 $cmd -in fff.p
-inform p
-outform p
>f.p
27 if [ $?
!= 0 ]; then exit 1; fi
30 $cmd -in f.d
-inform d
-outform d
>ff.d1
31 if [ $?
!= 0 ]; then exit 1; fi
33 #$cmd -in f.t -inform t -outform d >ff.d2
34 #if [ $? != 0 ]; then exit 1; fi
36 $cmd -in f.p
-inform p
-outform d
>ff.d3
37 if [ $?
!= 0 ]; then exit 1; fi
40 #$cmd -in f.d -inform d -outform t >ff.t1
41 #if [ $? != 0 ]; then exit 1; fi
43 #$cmd -in f.t -inform t -outform t >ff.t2
44 #if [ $? != 0 ]; then exit 1; fi
46 #$cmd -in f.p -inform p -outform t >ff.t3
47 #if [ $? != 0 ]; then exit 1; fi
50 $cmd -in f.d
-inform d
-outform p
>ff.p1
51 if [ $?
!= 0 ]; then exit 1; fi
53 #$cmd -in f.t -inform t -outform p >ff.p2
54 #if [ $? != 0 ]; then exit 1; fi
56 $cmd -in f.p
-inform p
-outform p
>ff.p3
57 if [ $?
!= 0 ]; then exit 1; fi
60 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
69 #if [ $? != 0 ]; then exit 1; fi
71 #if [ $? != 0 ]; then exit 1; fi
73 #if [ $? != 0 ]; then exit 1; fi
76 if [ $?
!= 0 ]; then exit 1; fi
78 #if [ $? != 0 ]; then exit 1; fi
80 if [ $?
!= 0 ]; then exit 1; fi
82 /bin
/rm -f f.
* ff.
* fff.
*