From: Damir Dzeko Date: Wed, 8 Mar 2006 18:57:43 +0000 (+0000) Subject: r98: cp-update total delete bugfix (LinesCount) X-Git-Tag: debian/3.0.0~18 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=e8807059a3626188bc1385bd1e203358c1aafc17;p=carnet-tools-cn.git r98: cp-update total delete bugfix (LinesCount) --- diff --git a/changelog.CARNet b/changelog.CARNet index f783254..55cbd84 100644 --- a/changelog.CARNet +++ b/changelog.CARNet @@ -4,7 +4,7 @@ carnet-tools-cn (2.5.2) sarge; urgency=low generiranja prazne datoteke nakon brisanja bloka koji je predstavljao jedini sadrzaj datoteke - -- Damir Dzeko Tue, 07 Mar 2006 22:35:37 +0100 + -- Damir Dzeko Tue, 07 Mar 2006 22:35:37 +0100 carnet-tools-cn (2.5.1) sarge; urgency=low diff --git a/cp-update b/cp-update index 00ad0d9..4ae4213 100755 --- a/cp-update +++ b/cp-update @@ -492,6 +492,7 @@ sub actualize() { unlink($file_old) or warn "$ProgramName: Failed to remove file '$file_old' ($!)\n"; } + DEBUG and print STDERR "actualize: LinesCount=$LinesCount\n"; } # return content from standard input diff --git a/test/Makefile b/test/Makefile index 339768e..4f733be 100644 --- a/test/Makefile +++ b/test/Makefile @@ -104,6 +104,7 @@ test9: test9.start cp test9.start test9.tmp $(CPUPDATE) -r test9 test9.tmp cmp test9.tmp test9.ok + cp test9.tmp test9 echo Succeeded $@ # more tests needed diff --git a/test/README b/test/README index b07cba4..5cc3c15 100644 --- a/test/README +++ b/test/README @@ -2,3 +2,20 @@ This directory contains test scripts/procedures used for quality check of utility scripts included in the package. -- Damir Dzeko Sun, 20 Mar 2005 08:52:16 +0100 + +Good output looks like this: + +Succeeded test1 +Succeeded test2 +Succeeded test3 +cp-update: Inserting lines at the end implicitly! No '(?-xism:abracadabra)' +Succeeded test4 +Succeeded test5 +Succeeded test6 +Succeeded test7 +Succeeded test8 +Succeeded test9 +All tests completed successfully + + -- Damir Dzeko Wed, 08 Mar 2006 19:56:34 +0100 +