From 14065fe78c133bc49e46557a8cfdec7ed6b618bc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 14 Nov 2018 00:15:48 -0500 Subject: tests: Don't assume BSD find has the "implicit ." Also, FreeBSD find rejects -L -delete, so don't test it under --bsd. --- tests.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 2930f86..4ced3c0 100755 --- a/tests.sh +++ b/tests.sh @@ -299,7 +299,6 @@ bsd_tests=( # Primaries test_delete - test_L_delete test_depth_maxdepth_1 test_depth_maxdepth_2 @@ -1387,7 +1386,7 @@ function test_delete() { touchp scratch/foo/bar/baz # Don't try to delete '.' - (cd scratch && invoke_bfs -delete) + (cd scratch && invoke_bfs . -delete) bfs_diff scratch } @@ -1408,7 +1407,7 @@ function test_rm() { rm -rf scratch/* touchp scratch/foo/bar/baz - (cd scratch && invoke_bfs -rm) + (cd scratch && invoke_bfs . -rm) bfs_diff scratch } -- cgit v1.2.3