diff options
-rw-r--r-- | tests/test_modes_filter_all.c | 2 | ||||
-rw-r--r-- | tests/test_modes_filter_general.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_modes_filter_all.c b/tests/test_modes_filter_all.c index 2c0d6b2..7e19242 100644 --- a/tests/test_modes_filter_all.c +++ b/tests/test_modes_filter_all.c @@ -45,10 +45,12 @@ const char *inputs[MAX_MODE][MAX_PART][MAX_RECORD] = { "bin", NULL }, +#if !OS_WINDOWS { // Filter regex ".*", NULL }, +#endif }; struct TestResult { diff --git a/tests/test_modes_filter_general.c b/tests/test_modes_filter_general.c index 44b1da9..50dec68 100644 --- a/tests/test_modes_filter_general.c +++ b/tests/test_modes_filter_general.c @@ -39,12 +39,14 @@ const char *inputs[MAX_MODE][MAX_PART][MAX_RECORD] = { "intentionally bad", // test non-existent pattern in string NULL }, +#if !OS_WINDOWS { // Filter regex "^/opt/local/.*", "intentionally bad", // test non-existent pattern in string "intentionally worse (", // cause total regex failure with unmatched parenthesis NULL }, +#endif }; const char *expected = "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin"; |