gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r33222 - gnunet/src/scalarproduct


From: gnunet
Subject: [GNUnet-SVN] r33222 - gnunet/src/scalarproduct
Date: Thu, 8 May 2014 15:58:52 +0200

Author: cfuchs
Date: 2014-05-08 15:58:52 +0200 (Thu, 08 May 2014)
New Revision: 33222

Modified:
   gnunet/src/scalarproduct/test_scalarproduct.sh
   gnunet/src/scalarproduct/test_scalarproduct_negative.sh
   gnunet/src/scalarproduct/test_scalarproduct_negativezero.sh
Log:
- updated SP testcases to comply with the new key/value input format

Modified: gnunet/src/scalarproduct/test_scalarproduct.sh
===================================================================
--- gnunet/src/scalarproduct/test_scalarproduct.sh      2014-05-08 13:41:54 UTC 
(rev 33221)
+++ gnunet/src/scalarproduct/test_scalarproduct.sh      2014-05-08 13:58:52 UTC 
(rev 33222)
@@ -1,8 +1,8 @@
 #!/bin/bash
 # compute a simple scalar product
 # payload for this test:
-INPUTALICE="-k CCC -e 3,3,-1"
-INPUTBOB="-k CCC -e 1000,100,24"
+INPUTALICE="-k CCC -e 'AB,10;RO,3;FL,3;LOL,-1;'"
+INPUTBOB="-k CCC -e 'BC,-20000;RO,1000;FL,100;LOL,24;'"
 
 # necessary to make the testing prefix deterministic, so we can access the 
config files
 PREFIX=/tmp/test-scalarproduct`date +%H%M%S`

Modified: gnunet/src/scalarproduct/test_scalarproduct_negative.sh
===================================================================
--- gnunet/src/scalarproduct/test_scalarproduct_negative.sh     2014-05-08 
13:41:54 UTC (rev 33221)
+++ gnunet/src/scalarproduct/test_scalarproduct_negative.sh     2014-05-08 
13:58:52 UTC (rev 33222)
@@ -1,8 +1,8 @@
 #!/bin/bash
 # compute a simple scalar product
 # payload for this test:
-INPUTALICE="-k CCC -e -3,-3,1"
-INPUTBOB="-k CCC -e 1000,100,24"
+INPUTALICE="-k CCC -e 'AB,10;RO,-3;FL,-3;LOL,1;'"
+INPUTBOB="-k CCC -e 'BC,-20000;RO,1000;FL,100;LOL,24;'"
 
 # necessary to make the testing prefix deterministic, so we can access the 
config files
 PREFIX=/tmp/test-scalarproduct`date +%H%M%S`

Modified: gnunet/src/scalarproduct/test_scalarproduct_negativezero.sh
===================================================================
--- gnunet/src/scalarproduct/test_scalarproduct_negativezero.sh 2014-05-08 
13:41:54 UTC (rev 33221)
+++ gnunet/src/scalarproduct/test_scalarproduct_negativezero.sh 2014-05-08 
13:58:52 UTC (rev 33222)
@@ -1,8 +1,8 @@
 #!/bin/bash
 # compute a simple scalar product
 # payload for this test:
-INPUTALICE="-k CCC -e -1,1,1"
-INPUTBOB="-k CCC -e 1,1,0"
+INPUTALICE="-k CCC -e 'AB,10;RO,-1;FL,1;LOL,1;'"
+INPUTBOB="-k CCC -e 'BC,20;RO,1;FL,1;LOL,0;'"
 
 # necessary to make the testing prefix deterministic, so we can access the 
config files
 PREFIX=/tmp/test-scalarproduct`date +%H%M%S`




reply via email to

[Prev in Thread] Current Thread [Next in Thread]