Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 04/22/2006 00:10:55
Module Name:	src
Committed By:	perseant
Date:		Sat Apr 22 00:10:55 UTC 2006

Modified Files:
	src/regress/sys/fs/lfs/ckckp: Makefile check-all ckckp.c run_ckckp
	src/sys/ufs/lfs: lfs_segment.c
Added Files:
	src/regress/sys/fs/lfs/ckckp: go.c

Log Message:
Regression test improvements:

Move the stop for LFCNWRAPSTOP to the point at which writing at segment 0
is really about to commence, since this is what the test expects (and
incidentally what a snapshotting utility wants as well).

More correctly reconstruct the on-disk state at every checkpoint, rather
than relying on the entire state at the point of wrapping to be accurate
(that is only true the first time we wrap).  Add a "make abort" target to
make rerunning the test more convenient when it has failed and we're done
analyzing the failure.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/regress/sys/fs/lfs/ckckp/Makefile \
    src/regress/sys/fs/lfs/ckckp/check-all \
    src/regress/sys/fs/lfs/ckckp/ckckp.c \
    src/regress/sys/fs/lfs/ckckp/run_ckckp
cvs rdiff -r0 -r1.1 src/regress/sys/fs/lfs/ckckp/go.c
cvs rdiff -r1.174 -r1.175 src/sys/ufs/lfs/lfs_segment.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.