diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-01-29 21:47:49 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-01-29 21:47:49 -0500 |
commit | 18f77b8ee5d9c13f49a5c6c23db08d5a73a1d640 (patch) | |
tree | 1c4ff9c873176f6096597875f8141f3af42c21eb | |
parent | c898af13a671ee92a056467d324f16823594eb1c (diff) | |
download | bfs-18f77b8ee5d9c13f49a5c6c23db08d5a73a1d640.tar.xz |
Revert "tests: Add a test for posix-basic alternation"
Turns out alternation is not actually part of the POSIX basic regular
expression language, it's just a glibc extension.
This reverts commit c898af13a671ee92a056467d324f16823594eb1c.
-rwxr-xr-x | tests.sh | 5 | ||||
-rw-r--r-- | tests/test_regex_alternation.out | 2 |
2 files changed, 0 insertions, 7 deletions
@@ -622,7 +622,6 @@ gnu_tests=( test_regex test_regex_parens test_regex_error - test_regex_alternation test_regextype_posix_basic test_regextype_posix_extended @@ -2036,10 +2035,6 @@ function test_regextype_posix_basic() { bfs_diff -regextype posix-basic -regex '\./\((\)' } -function test_regex_alternation() { - bfs_diff basic -regextype posix-basic -regex 'basic/\(a\|b\)' -} - function test_regextype_posix_extended() { cd weirdnames bfs_diff -regextype posix-extended -regex '\./(\()' diff --git a/tests/test_regex_alternation.out b/tests/test_regex_alternation.out deleted file mode 100644 index e2bc098..0000000 --- a/tests/test_regex_alternation.out +++ /dev/null @@ -1,2 +0,0 @@ -basic/a -basic/b |