From 585a9dafe86b51a2d120d107bb04a77b34cc1af0 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 14 Feb 2016 13:35:23 -0500 Subject: Implement -lname and -ilname. --- tests.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'tests.sh') 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=$? -- cgit v1.2.3