From aa2401a60ac5243bed8616b108894d7a954bba8e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 24 Jun 2018 16:28:27 -0400 Subject: tests: Relax test_depth_error Whether bfs can return children of a directory without search permission depends on whether d_type is filled in, which can't be guaranteed. --- tests.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 8f0f72c..9302cfc 100755 --- a/tests.sh +++ b/tests.sh @@ -624,15 +624,12 @@ function test_depth_maxdepth_2() { function test_depth_error() { rm -rf scratch/* touchp scratch/foo/bar - touchp scratch/baz/qux chmod -r scratch/foo - chmod -x scratch/baz bfs_diff scratch -depth 2>/dev/null local ret=$? chmod +r scratch/foo - chmod +x scratch/baz rm -rf scratch/* return $ret -- cgit v1.2.3