Skip to contentSkip to conversation

LVM2 unit-tests/regex/Makefile.in unit-tests/r ...

PATCH [email protected] 1 participant 1 message Jul 20, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: thornber at sourceware.org 2010-07-20 15:18:57

Added files:
unit-tests/regex: Makefile.in dev_patterns devices.list
matcher_t.c parse_t.c
Removed files:
old-tests/regex: Makefile.in dev_patterns devices.list
matcher_t.c parse_t.c

Log message:
Move tests from old-tests/regex to unit-tests/regex. unit-tests will contain tests that currently work.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/old-tests/regex/Makefile.in.diff?cvsroot=lvm2&r1=1.7&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/old-tests/regex/dev_patterns.diff?cvsroot=lvm2&r1=1.1&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/old-tests/regex/devices.list.diff?cvsroot=lvm2&r1=1.1&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/old-tests/regex/matcher_t.c.diff?cvsroot=lvm2&r1=1.5&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/old-tests/regex/parse_t.c.diff?cvsroot=lvm2&r1=1.7&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/Makefile.in.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/dev_patterns.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/devices.list.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/matcher_t.c.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/parse_t.c.diff?cvsroot=lvm2&r1=NONE&r2=1.1

/cvs/lvm2/LVM2/unit-tests/regex/Makefile.in,v --> standard output revision 1.1

- renamed from unit-tests/regex/Makefile.in +37 -0
@@ -0,0 +1,37 @@
+#
+# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
+# Copyright (C) 2004-2010 Red Hat, Inc. All rights reserved.
+#
+# This file is part of LVM2.
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU General Public License v.2.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
+
+SOURCES=\
+	parse_t.c \
+	matcher_t.c
+
+TARGETS=\
+	parse_t \
+	matcher_t
+
+include $(top_builddir)/make.tmpl
+
+INCLUDES += -I$(top_srcdir)/libdm
+DM_DEPS = $(top_builddir)/libdm/libdevmapper.so
+DM_LIBS = -ldevmapper $(LIBS)
+
+parse_t: parse_t.o $(DM_DEPS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ parse_t.o $(DM_LIBS)
+
+matcher_t: matcher_t.o $(DM_DEPS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ matcher_t.o $(DM_LIBS)

/cvs/lvm2/LVM2/unit-tests/regex/dev_patterns,v --> standard output revision 1.1

- renamed from unit-tests/regex/dev_patterns +2 -0
@@ -0,0 +1,2 @@
+"loop/[0-9]+"
+"hd[a-d][0-5]+"

/cvs/lvm2/LVM2/unit-tests/regex/devices.list,v --> standard output revision 1.1

- renamed from unit-tests/regex/devices.list +880 -0

880 lines not on this page · raw message

/cvs/lvm2/LVM2/unit-tests/regex/matcher_t.c,v --> standard output revision 1.1

- renamed from unit-tests/regex/matcher_t.c +145 -0

145 lines not on this page · raw message

/cvs/lvm2/LVM2/unit-tests/regex/parse_t.c,v --> standard output revision 1.1

- renamed from unit-tests/regex/parse_t.c +118 -0

118 lines not on this page · raw message