CVS commit: src/tests/dev/fss

2023-05-10 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Thu May 11 01:56:31 UTC 2023

Modified Files:
src/tests/dev/fss: t_fss.sh

Log Message:
t_fss.sh: add missing test case head


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/dev/fss/t_fss.sh

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

Modified files:

Index: src/tests/dev/fss/t_fss.sh
diff -u src/tests/dev/fss/t_fss.sh:1.5 src/tests/dev/fss/t_fss.sh:1.6
--- src/tests/dev/fss/t_fss.sh:1.5	Wed Nov 30 17:49:59 2022
+++ src/tests/dev/fss/t_fss.sh	Thu May 11 01:56:31 2023
@@ -1,4 +1,4 @@
-# $NetBSD: t_fss.sh,v 1.5 2022/11/30 17:49:59 martin Exp $
+# $NetBSD: t_fss.sh,v 1.6 2023/05/11 01:56:31 gutteridge Exp $
 #
 # Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -35,6 +35,11 @@ orig_data="Original data"
 repl_data="Replacement data"
 
 atf_test_case basic cleanup
+basic_head() {
+	atf_set "descr" "Verify basic operation of fss(4) file system " \
+		"snapshot device"
+}
+
 basic_body() {
 
 # verify fss is available (or loadable as a module)
@@ -81,5 +86,5 @@ basic_cleanup() {
 
 atf_init_test_cases()
 {
-atf_add_test_case basic
+	atf_add_test_case basic
 }



CVS commit: src/tests/dev/fss

2023-05-10 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Thu May 11 01:56:31 UTC 2023

Modified Files:
src/tests/dev/fss: t_fss.sh

Log Message:
t_fss.sh: add missing test case head


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/dev/fss/t_fss.sh

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



re: CVS commit: src/tests/dev/fss

2017-03-15 Thread matthew green
"Martin Husemann" writes:
> Module Name:  src
> Committed By: martin
> Date: Wed Mar 15 10:53:15 UTC 2017
> 
> Modified Files:
>   src/tests/dev/fss: t_fss.sh
> 
> Log Message:
> Do not assume an all-zeroes disk label will read back as a disk with
> an 'a'  partition covering the whole disk, instead use the raw partition.
> Also skip this test if the fss device is not available.
> With lots of help from pgoyette.

good idea.  i wonder if picking something much higher than 'vnd0'
would also be safer here?  i tend to always 'reboot and run tests',
but maybe someone might run this when vnd0 already setup, and it
would be nice to have the test not fail in that case.


.mrg.