[Ecm-commits] r2690 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Sat Apr 25 08:09:51 CEST 2015


Author: zimmerma
Date: 2015-04-25 08:09:51 +0200 (Sat, 25 Apr 2015)
New Revision: 2690

Modified:
   trunk/test.ecm
Log:
replaced hard-coded ecm by $ECM


Modified: trunk/test.ecm
===================================================================
--- trunk/test.ecm	2015-04-24 06:16:23 UTC (rev 2689)
+++ trunk/test.ecm	2015-04-25 06:09:51 UTC (rev 2690)
@@ -453,11 +453,11 @@
 # exercise "Error, the -I f option requires f > 0" error message
 echo "2^1123-1" | $ECM -I -1 11000; checkcode $? 1
 # exercise "Can't find input file" error message
-ecm -inp 1; checkcode $? 1
+$ECM -inp 1; checkcode $? 1
 # exercise "Warning, for multiple -go options" warning message
 echo "2^1123-1" | $ECM -sigma 0:13488386679529262989 -go 5 -go 7 11000; checkcode $? 6
 # exercise "Unknown option" error message
-ecm -inp; checkcode $? 1
+$ECM -inp; checkcode $? 1
 # exercise "Invalid arguments. See ... --help" error message
 echo "2^1123-1" | $ECM; checkcode $? 1
 # exercise "Invalid B2 value" error message
@@ -467,9 +467,9 @@
 # exercise "Error, -y0 must be used with -A and -x0 parameters" error message
 echo "2^1123-1" | $ECM -param 0 -y0 1 11000; checkcode $? 1
 # exercise "Warning: -sigma, -param, -A and -x0 parameters are ignored when resuming from save files." warning message
-ecm -x0 1 -resume M877.save 11000; checkcode $? 0
+$ECM -x0 1 -resume M877.save 11000; checkcode $? 0
 # exercise "Error, option -c and -resume are incompatible" error message
-ecm -c 2 -resume M877.save 11000; checkcode $? 1
+$ECM -c 2 -resume M877.save 11000; checkcode $? 1
 # exercise "Error, option -c is incompatible with -x0" error message
 echo "2^1123-1" | $ECM -c 2 -param 0 -x0 1 11000; checkcode $? 1
 # exercise "Error, the -param option is only valid for ECM" error message



More information about the Ecm-commits mailing list