From 96ca12560f5c4007891985f98fba94fd9c0dc241 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 20 Dec 2016 21:09:42 -0500 Subject: Support -[gu]id NAME like BSD find --- tests.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 8848ebe..8d9a49b 100755 --- a/tests.sh +++ b/tests.sh @@ -735,9 +735,19 @@ function test_0117() { bfs_diff basic -depth -depth -2 } +function test_0118() { + [ "$BSD" ] || return 0 + bfs_diff basic -gid "$(id -gn)" +} + +function test_0119() { + [ "$BSD" ] || return 0 + bfs_diff basic -uid "$(id -un)" +} + result=0 -for i in {1..117}; do +for i in {1..119}; do test="test_$(printf '%04d' $i)" if [ -t 1 ]; then -- cgit v1.2.3