[Ecm-commits] r2684 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Tue Apr 21 09:32:46 CEST 2015


Author: zimmerma
Date: 2015-04-21 09:32:46 +0200 (Tue, 21 Apr 2015)
New Revision: 2684

Added:
   trunk/dummy2.save
Modified:
   trunk/Makefile.am
   trunk/test.ecm
Log:
get rid of echo with special characters in shell script 


Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am	2015-04-20 08:33:02 UTC (rev 2683)
+++ trunk/Makefile.am	2015-04-21 07:32:46 UTC (rev 2684)
@@ -111,7 +111,7 @@
              powerpc64/params.h powerpc32/params.h sparc64/params.h     \
              hppa/params.h mips/params.h x86_64/corei7/params.h         \
              generic/params.h testlong.pp1 testlong.ecm M997.save M877.save \
-             dummy.save
+             dummy.save dummy2.save
 
 DIST_SUBDIRS = athlon pentium4 x86_64 powerpc64 aprtcle
 

Added: trunk/dummy2.save
===================================================================
--- trunk/dummy2.save	                        (rev 0)
+++ trunk/dummy2.save	2015-04-21 07:32:46 UTC (rev 2684)
@@ -0,0 +1,4 @@
+
+
+
+# this is a comment line and should be ignored

Modified: trunk/test.ecm
===================================================================
--- trunk/test.ecm	2015-04-20 08:33:02 UTC (rev 2683)
+++ trunk/test.ecm	2015-04-21 07:32:46 UTC (rev 2684)
@@ -190,10 +190,7 @@
 checkcode $C 14
 
 # test savea
-echo -n "\n" > test.ecm.save
-echo -n "\r\n" >> test.ecm.save
-echo -n "\r" >> test.ecm.save
-echo "# this is a comment line and should be ignored" >> test.ecm.save
+cp dummy2.save test.ecm.save
 echo 17061648125571273329563156588435816942778260706938821014533 | $ECM -savea test.ecm.save -param 0 -sigma 585928442 174000 0
 $ECM -resume test.ecm.save 174000 85880350
 C=$?



More information about the Ecm-commits mailing list