summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh30
1 files changed, 29 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index b880612..afd7275 100755
--- a/tests.sh
+++ b/tests.sh
@@ -550,7 +550,35 @@ function test_0100() {
bfs_diff /// -maxdepth 0 -execdir echo '{}' ';'
}
-for i in {1..100}; do
+function test_0101() {
+ bfs_diff basic -regex 'basic/./.'
+}
+
+function test_0102() {
+ bfs_diff basic -iregex 'basic/[A-Z]/[a-z]'
+}
+
+function test_0103() {
+ cd weirdnames
+ bfs_diff -regex '\./\((\)'
+}
+
+function test_0104() {
+ cd weirdnames
+ bfs_diff -E -regex '\./(\()'
+}
+
+function test_0105() {
+ cd weirdnames
+ bfs_diff -regextype posix-basic -regex '\./\((\)'
+}
+
+function test_0106() {
+ cd weirdnames
+ bfs_diff -regextype posix-extended -regex '\./(\()'
+}
+
+for i in {1..106}; do
test="test_$(printf '%04d' $i)"
if [ -t 1 ]; then