svn commit: r363819 - head/lib/libregex/tests
Kyle Evans
kevans at FreeBSD.org
Tue Aug 4 02:16:44 UTC 2020
Author: kevans
Date: Tue Aug 4 02:16:43 2020
New Revision: 363819
URL: https://svnweb.freebsd.org/changeset/base/363819
Log:
libregex: disable some of the unimplemented test cases for now
This should allow the tests to actually pass. Future work will uncomment the
unimplemented tests as they're implemented.
Modified:
head/lib/libregex/tests/gnuext.in
head/lib/libregex/tests/libregex_test.sh
Modified: head/lib/libregex/tests/gnuext.in
==============================================================================
--- head/lib/libregex/tests/gnuext.in Tue Aug 4 02:14:51 2020 (r363818)
+++ head/lib/libregex/tests/gnuext.in Tue Aug 4 02:16:43 2020 (r363819)
@@ -17,14 +17,16 @@ a\|b\|c b abc a
\s\+ b aSNTb SNT
# Word boundaries (\b, \B, \<, \>, \`, \')
# (is/not boundary, start/end word, start/end subject string)
-\babc\b & <abc> abc
+# Most of these are disabled for the moment, and will be re-enabled as
+# we become feature complete.
+#\babc\b & <abc> abc
\<abc\> & <abc> abc
-\Babc\B & abc
-\B[abc]\B & <abc> b
-\B[abc]+ - <abc> bc
-\B[abc]\+ b <abc> bc
-\`abc\' & abc abc
-\`.+\' - abNc abNc
-\`.\+\' b abNc abNc
-(\`a) - Na
-(a\') - aN
+#\Babc\B & abc
+#\B[abc]\B & <abc> b
+#\B[abc]+ - <abc> bc
+#\B[abc]\+ b <abc> bc
+#\`abc\' & abc abc
+#\`.+\' - abNc abNc
+#\`.\+\' b abNc abNc
+#(\`a) - Na
+#(a\') - aN
Modified: head/lib/libregex/tests/libregex_test.sh
==============================================================================
--- head/lib/libregex/tests/libregex_test.sh Tue Aug 4 02:14:51 2020 (r363818)
+++ head/lib/libregex/tests/libregex_test.sh Tue Aug 4 02:16:43 2020 (r363819)
@@ -30,10 +30,6 @@ check()
{
local dataname="${1}"; shift
- if [ "${dataname}" == "gnuext" ]; then
- atf_expect_fail "GNU extensions are not currently implemented"
- fi
-
prog="$(atf_get_srcdir)/h_regex"
data="$(atf_get_srcdir)/data/${dataname}.in"
More information about the svn-src-head
mailing list