Module Name:    src
Committed By:   dholland
Date:           Tue Oct 11 23:04:22 UTC 2011

Modified Files:
        src/distrib/sets/lists/tests: mi
        src/tests/lib/libc/regex: Makefile t_regex.in
Added Files:
        src/tests/lib/libc/regex/data: zero.in
Removed Files:
        src/tests/lib/libc/regex/data: nul.in

Log Message:
Don't use 'nul' in filenames as windows will belch.
(Caught by importing the tree into mercurial)


To generate a diff of this commit:
cvs rdiff -u -r1.399 -r1.400 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/regex/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/regex/t_regex.in
cvs rdiff -u -r1.1 -r0 src/tests/lib/libc/regex/data/nul.in
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/regex/data/zero.in

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

Modified files:

Index: src/distrib/sets/lists/tests/mi
diff -u src/distrib/sets/lists/tests/mi:1.399 src/distrib/sets/lists/tests/mi:1.400
--- src/distrib/sets/lists/tests/mi:1.399	Sun Oct  9 18:25:28 2011
+++ src/distrib/sets/lists/tests/mi	Tue Oct 11 23:04:21 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.399 2011/10/09 18:25:28 christos Exp $
+# $NetBSD: mi,v 1.400 2011/10/11 23:04:21 dholland Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -2006,7 +2006,6 @@
 ./usr/tests/lib/libc/regex/data/error.in	tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/meta.in		tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/nospec.in	tests-lib-tests		atf
-./usr/tests/lib/libc/regex/data/nul.in		tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/paren.in	tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/regress.in	tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/repet_bounded.in tests-lib-tests	atf
@@ -2016,6 +2015,7 @@
 ./usr/tests/lib/libc/regex/data/subexp.in	tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/subtle.in	tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/data/word_bound.in	tests-lib-tests		atf
+./usr/tests/lib/libc/regex/data/zero.in		tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/h_regex		tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/t_exhaust		tests-lib-tests		atf
 ./usr/tests/lib/libc/regex/t_regex		tests-lib-tests		atf

Index: src/tests/lib/libc/regex/Makefile
diff -u src/tests/lib/libc/regex/Makefile:1.3 src/tests/lib/libc/regex/Makefile:1.4
--- src/tests/lib/libc/regex/Makefile:1.3	Mon Oct 10 04:32:41 2011
+++ src/tests/lib/libc/regex/Makefile	Tue Oct 11 23:04:21 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/10/10 04:32:41 christos Exp $
+# $NetBSD: Makefile,v 1.4 2011/10/11 23:04:21 dholland Exp $
 
 MKMAN=	no
 
@@ -25,7 +25,6 @@ FILES+=		data/complex.in
 FILES+=		data/error.in
 FILES+=		data/meta.in
 FILES+=		data/nospec.in
-FILES+=		data/nul.in
 FILES+=		data/paren.in
 FILES+=		data/regress.in
 FILES+=		data/repet_bounded.in
@@ -35,6 +34,7 @@ FILES+=		data/startend.in
 FILES+=		data/subexp.in
 FILES+=		data/subtle.in
 FILES+=		data/word_bound.in
+FILES+=		data/zero.in
 
 t_regex.sh: t_regex.awk t_regex.in
 	${TOOL_AWK} -f ${.CURDIR}/t_regex.awk ${.CURDIR}/t_regex.in > ${.TARGET}

Index: src/tests/lib/libc/regex/t_regex.in
diff -u src/tests/lib/libc/regex/t_regex.in:1.2 src/tests/lib/libc/regex/t_regex.in:1.3
--- src/tests/lib/libc/regex/t_regex.in:1.2	Sun Jan  9 05:44:46 2011
+++ src/tests/lib/libc/regex/t_regex.in	Tue Oct 11 23:04:21 2011
@@ -1,4 +1,4 @@
-# $NetBSD: t_regex.in,v 1.2 2011/01/09 05:44:46 pgoyette Exp $
+# $NetBSD: t_regex.in,v 1.3 2011/10/11 23:04:21 dholland Exp $
 #
 # Copyright (c) 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -51,7 +51,7 @@ tc:c_comments:Checks matching C comments
 tc:subexp:Checks subexpressions
 tc:startend:Checks STARTEND option
 tc:nospec:Checks NOSPEC option
-tc:nul:Checks NULs
+tc:zero:Checks NULs
 tc:word_bound:Checks word boundaries
 tc:regress:Checks various past problems and suspected problems
 

Added files:

Index: src/tests/lib/libc/regex/data/zero.in
diff -u /dev/null src/tests/lib/libc/regex/data/zero.in:1.1
--- /dev/null	Tue Oct 11 23:04:22 2011
+++ src/tests/lib/libc/regex/data/zero.in	Tue Oct 11 23:04:21 2011
@@ -0,0 +1,7 @@
+# cases involving NULs
+aZb		&	a	a
+aZb		&p	a
+aZb		&p#	(aZb)	aZb
+aZ*b		&p#	(ab)	ab
+a.b		&#	(aZb)	aZb
+a.*		&#	(aZb)c	aZb

Reply via email to