[Ecm-commits] r2585 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Fri Feb 6 18:52:29 CET 2015


Author: zimmerma
Date: 2015-02-06 18:52:29 +0100 (Fri, 06 Feb 2015)
New Revision: 2585

Modified:
   trunk/test.ecm
Log:
learning bourne shell...


Modified: trunk/test.ecm
===================================================================
--- trunk/test.ecm	2015-02-06 17:31:08 UTC (rev 2584)
+++ trunk/test.ecm	2015-02-06 17:52:29 UTC (rev 2585)
@@ -201,7 +201,7 @@
 echo "10090030271*10^400+696212088699" | $ECM -param 0 -sigma 3923937547 1e3 1e6; checkcode $? 14
 
 # those tests with params=1, 2 or 3 don't work with -redc
-if [ "$MUL" != "redc" && "$MUL" != "mpzmod" ]; then
+if [ "$MUL" != "redc" -a "$MUL" != "mpzmod" ]; then
 
 echo 31622776601683791911 | $ECM -param 1 -A 27063318473587686303 11000
 checkcode $? 0
@@ -310,7 +310,7 @@
 
 echo 10000000000000000000000000000000000000121 | $ECM -param 0 -sigma 291 -go 5994496018878137 4372759;  checkcode $? 8
 
-if [ "$MUL" == "modmuln" ]; then
+if [ "$MUL" = "modmuln" ]; then
 # exercise batch mode
 echo 33852066257429811148979390609187539760850944806763555795340084882048986912482949506591909041130651770779842162499482875755533111808276172876211496409325473343590723224081353129229935527059488811457730702694849036693756201766866018562295004353153066430367 | $ECM -v -sigma 1:17 1e6; checkcode $? 0
 fi



More information about the Ecm-commits mailing list