3 CFGA="-c ./test_scalarproduct_alice.conf"
4 CFGB="-c ./test_scalarproduct_bob.conf"
6 SESSIONDATA="-k AAAA -e 10,10,10"
14 IDB=`gnunet-peerinfo -s $CFGB | awk -F "\x60" '{print $2}' | awk -F "'" '{print $1}'`
16 gnunet-scalarproduct $CFGB $SESSIONDATA
18 RESULT=`gnunet-scalarproduct $CFGA $SESSIONDATA -p $IDB`
23 if [ "$RESULT" == "$EXPECTED" ]
28 echo "Result $RESULT NOTOK"