1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

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

This commit is contained in:
Joe Thornber 2010-08-09 10:27:31 +00:00
parent 45035ffa1a
commit 95aa395ddd
4 changed files with 13 additions and 2 deletions

View File

@ -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
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

View File

@ -0,0 +1,3 @@
foo€bar : €
fooÂb : fooÂb
€ : €

View File

@ -0,0 +1,4 @@
foo.bar
foo€bar
fooÂb

View File

@ -0,0 +1,3 @@
"foo€bar"
"fooÂb"
"€"