Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/regex Don't use 'nul' in filenames as windows...



details:   https://anonhg.NetBSD.org/src/rev/bac7c59481bf
branches:  trunk
changeset: 770308:bac7c59481bf
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue Oct 11 23:04:21 2011 +0000

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

diffstat:

 tests/lib/libc/regex/Makefile     |  4 ++--
 tests/lib/libc/regex/data/nul.in  |  7 -------
 tests/lib/libc/regex/data/zero.in |  7 +++++++
 tests/lib/libc/regex/t_regex.in   |  4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

diffs (65 lines):

diff -r f06e23efd7ec -r bac7c59481bf tests/lib/libc/regex/Makefile
--- a/tests/lib/libc/regex/Makefile     Tue Oct 11 23:04:20 2011 +0000
+++ b/tests/lib/libc/regex/Makefile     Tue Oct 11 23:04:21 2011 +0000
@@ -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/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/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}
diff -r f06e23efd7ec -r bac7c59481bf tests/lib/libc/regex/data/nul.in
--- a/tests/lib/libc/regex/data/nul.in  Tue Oct 11 23:04:20 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# 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
diff -r f06e23efd7ec -r bac7c59481bf tests/lib/libc/regex/data/zero.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/lib/libc/regex/data/zero.in Tue Oct 11 23:04:21 2011 +0000
@@ -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
diff -r f06e23efd7ec -r bac7c59481bf tests/lib/libc/regex/t_regex.in
--- a/tests/lib/libc/regex/t_regex.in   Tue Oct 11 23:04:20 2011 +0000
+++ b/tests/lib/libc/regex/t_regex.in   Tue Oct 11 23:04:21 2011 +0000
@@ -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: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
 



Home | Main Index | Thread Index | Old Index