This is the mail archive of the lvm2-cvs@sourceware.org mailing list for the LVM2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LVM2/unit-tests/regex TESTS matcher_t.expected ...


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	thornber@sourceware.org	2010-08-09 10:27:31

Modified files:
	unit-tests/regex: TESTS 
Added files:
	unit-tests/regex: matcher_t.expected3 nonprint_input 
	                  nonprint_regexes 

Log message:
	[REGEX] add a unit test for regexes containing chars with value over x80

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/matcher_t.expected3.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/nonprint_input.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/nonprint_regexes.diff?cvsroot=lvm2&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/unit-tests/regex/TESTS.diff?cvsroot=lvm2&r1=1.2&r2=1.3

/cvs/lvm2/LVM2/unit-tests/regex/matcher_t.expected3,v  -->  standard output
revision 1.1
--- LVM2/unit-tests/regex/matcher_t.expected3
+++ -	2010-08-09 10:27:31.742849000 +0000
@@ -0,0 +1,3 @@
+foo?bar : ?
+fooÂb : fooÂb
+? : ?
/cvs/lvm2/LVM2/unit-tests/regex/nonprint_input,v  -->  standard output
revision 1.1
--- LVM2/unit-tests/regex/nonprint_input
+++ -	2010-08-09 10:27:31.834496000 +0000
@@ -0,0 +1,4 @@
+foo.bar
+foo?bar
+fooÂb
+?
/cvs/lvm2/LVM2/unit-tests/regex/nonprint_regexes,v  -->  standard output
revision 1.1
--- LVM2/unit-tests/regex/nonprint_regexes
+++ -	2010-08-09 10:27:31.920879000 +0000
@@ -0,0 +1,3 @@
+"foo?bar"
+"fooÂb"
+"?"
--- LVM2/unit-tests/regex/TESTS	2010/07/21 11:52:46	1.2
+++ LVM2/unit-tests/regex/TESTS	2010/08/09 10:27:31	1.3
@@ -1,2 +1,3 @@
-dfa matching:$TEST_TOOL ./matcher_t dev_patterns < devices.list > matcher_t.output && diff -u matcher_t.expected matcher_t.output
-dfa matching:$TEST_TOOL ./matcher_t random_regexes < /dev/null > matcher_t.output && diff -u matcher_t.expected2 matcher_t.output
\ No newline at end of file
+dfa matching:$TEST_TOOL ./matcher_t --fingerprint dev_patterns < devices.list > matcher_t.output && diff -u matcher_t.expected matcher_t.output
+dfa matching:$TEST_TOOL ./matcher_t --fingerprint random_regexes < /dev/null > matcher_t.output && diff -u matcher_t.expected2 matcher_t.output
+dfa with non-print regex chars:$TEST_TOOL ./matcher_t nonprint_regexes < nonprint_input > matcher_t.output && diff -u matcher_t.expected3 matcher_t.output
\ No newline at end of file


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]