summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-02-14 13:35:23 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-02-14 13:35:23 -0500
commit585a9dafe86b51a2d120d107bb04a77b34cc1af0 (patch)
tree7f715d1d8c8a4dd711548f3f19528722a739db00 /tests.sh
parent94432cd2a3185ce97dfd28a6a1b236449d91268f (diff)
downloadbfs-585a9dafe86b51a2d120d107bb04a77b34cc1af0.tar.xz
Implement -lname and -ilname.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh18
1 files changed, 17 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index cbfefcb..e6b52be 100755
--- a/tests.sh
+++ b/tests.sh
@@ -223,7 +223,23 @@ function test_0038() {
find_diff "$basic" -ipath "$basic/*F*"
}
-for i in {1..38}; do
+function test_0039() {
+ find_diff "$links" -lname '[aq]'
+}
+
+function test_0040() {
+ find_diff "$links" -ilname '[AQ]'
+}
+
+function test_0041() {
+ find_diff -L "$links" -lname '[aq]' 2>/dev/null
+}
+
+function test_0042() {
+ find_diff -L "$links" -lname '[AQ]' 2>/dev/null
+}
+
+for i in {1..42}; do
test="test_$(printf '%04d' $i)"
"$test" "$dir"
status=$?