From a54c9309c3291a960fcbcbc9e6407330a9edd044 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 13 Feb 2016 13:13:51 -0500 Subject: Implement -xtype. --- tests.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 128c63c..046fddd 100755 --- a/tests.sh +++ b/tests.sh @@ -183,7 +183,23 @@ function test_0028() { find_diff "$links" -samefile "$links/a" } -for i in {1..28}; do +function test_0029() { + find_diff "$links" -xtype l +} + +function test_0030() { + find_diff "$links" -xtype f +} + +function test_0031() { + find_diff -L "$links" -xtype l 2>/dev/null +} + +function test_0032() { + find_diff -L "$links" -xtype f 2>/dev/null +} + +for i in {1..32}; do test="test_$(printf '%04d' $i)" "$test" "$dir" status=$? -- cgit v1.2.3