Module Name: src
Committed By: sevan
Date: Mon Dec 10 03:58:30 UTC 2018
Modified Files:
src/external/cddl/osnet/usr.bin/ztest: ztest.1
Log Message:
Describe how unaccounted changes are detected without Star Trek references, for
everyone in 2018.
Thanks to maya & gdt
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/cddl/osnet/usr.bin/ztest/ztest.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/cddl/osnet/usr.bin/ztest/ztest.1
diff -u src/external/cddl/osnet/usr.bin/ztest/ztest.1:1.3 src/external/cddl/osnet/usr.bin/ztest/ztest.1:1.4
--- src/external/cddl/osnet/usr.bin/ztest/ztest.1:1.3 Sat Dec 8 14:55:53 2018
+++ src/external/cddl/osnet/usr.bin/ztest/ztest.1 Mon Dec 10 03:58:30 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: ztest.1,v 1.3 2018/12/08 14:55:53 sevan Exp $
+.\" $NetBSD: ztest.1,v 1.4 2018/12/10 03:58:30 sevan Exp $
.\"
.\" Copyright (c) 2018 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"/
-.Dd December 8, 2018
+.Dd December 10, 2018
.Dt ZTEST 1
.Os
.Sh NAME
@@ -75,6 +75,15 @@ To verify that the on-disk consistency i
processes are killed at random with a SIGKILL signal, after which the parent
process invokes a new child to run the test again on the same storage pool.
.Pp
+Many of the tests record the transaction group number as part of their data.
+When reading old data, tests verify that the transaction group number is less
+than the current, open state, transaction group to ensure the consistency of
+tests and detect unaccounted changes.
+It is advised that any new tests added to
+.Nm
+should also perform the same check with transaction group numbers, if
+applicable.
+.Pp
The main
.Nm
process uses an