summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-01-29 21:47:49 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-01-29 21:47:49 -0500
commit18f77b8ee5d9c13f49a5c6c23db08d5a73a1d640 (patch)
tree1c4ff9c873176f6096597875f8141f3af42c21eb /tests.sh
parentc898af13a671ee92a056467d324f16823594eb1c (diff)
downloadbfs-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.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests.sh b/tests.sh
index 2907678..c0a3a79 100755
--- a/tests.sh
+++ b/tests.sh
@@ -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 '\./(\()'