[Ecm-commits] r2637 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Wed Feb 25 16:15:21 CET 2015


Author: zimmerma
Date: 2015-02-25 16:15:21 +0100 (Wed, 25 Feb 2015)
New Revision: 2637

Modified:
   trunk/test.pm1
   trunk/test.pp1
Log:
fixed -chkpnt tests


Modified: trunk/test.pm1
===================================================================
--- trunk/test.pm1	2015-02-25 14:52:05 UTC (rev 2636)
+++ trunk/test.pm1	2015-02-25 15:15:21 UTC (rev 2637)
@@ -92,9 +92,11 @@
 
 # check the -chkpnt option
 echo 25591172394760497166702530699464321 | $PM1 -chkpnt test.pm1.chk 100000
+checkcode $? 0
+$PM1 -resume test.pm1.chk 120557 2007301
 C=$?
 /bin/rm -f test.pm1.chk
-checkcode $C 14
+checkcode $C 8
 
 ### same with -savea
 echo 25591172394760497166702530699464321 | $PM1 -savea test.pm1.save 100000

Modified: trunk/test.pp1
===================================================================
--- trunk/test.pp1	2015-02-25 14:52:05 UTC (rev 2636)
+++ trunk/test.pp1	2015-02-25 15:15:21 UTC (rev 2637)
@@ -101,14 +101,17 @@
 checkcode $? 14
 
 # test -save/-resume
-echo 2277189375098448170118558775447117254551111605543304035536750762506158547102293199086726265869065639109 | $PP1 -x0 3 -save test.pp1.save 2337233 0
+echo 2277189375098448170118558775447117254551111605543304035536750762506158547102293199086726265869065639109 | $PP1 -x0 3 -save test.pp1.save 1000000 0
+checkcode $? 0
 $PP1 -resume test.pp1.save 2337233 132554351
 C=$?
 /bin/rm -f test.pp1.save
 checkcode $C 14
 
 # test -chkpnt
-echo 2277189375098448170118558775447117254551111605543304035536750762506158547102293199086726265869065639109 | $PP1 -x0 3 -save test.pp1.chk 2337233 0
+echo 2277189375098448170118558775447117254551111605543304035536750762506158547102293199086726265869065639109 | $PP1 -x0 3 -chkpnt test.pp1.chk 1000000 0
+checkcode $? 0
+$PP1 -resume test.pp1.chk 2337233 132554351
 C=$?
 /bin/rm -f test.pp1.chk
 checkcode $C 14



More information about the Ecm-commits mailing list