3 cmd
='../util/shlib_wrap.sh ../apps/openssl sess_id'
5 if [ "$1"x
!= "x" ]; then
11 echo testing session-id 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 t >f.t
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.t -inform t -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 t >ff.t1
36 #if [ $? != 0 ]; then exit 1; fi
38 #$cmd -in f.t -inform t -outform t >ff.t2
39 #if [ $? != 0 ]; then exit 1; fi
41 #$cmd -in f.p -inform p -outform t >ff.t3
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.t -inform t -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.
*