From c94f29e4bb0406e0adf7ce3f9865091bcfdfc690 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 18 Apr 2021 12:43:36 -0400 Subject: tests: Don't fail -flags test if we can't set flags --- tests.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests.sh b/tests.sh index 34cb9f0..4d1ee57 100755 --- a/tests.sh +++ b/tests.sh @@ -2982,14 +2982,12 @@ function test_exclude_exclude() { } function test_flags() { - if ! quiet invoke_bfs scratch -quit -flags offline; then - return 0 - fi + quiet invoke_bfs scratch -quit -flags offline || return 0 rm -rf scratch/* touch scratch/{foo,bar} - quiet chflags offline scratch/bar + chflags offline scratch/bar || return 0 bfs_diff scratch -flags -offline,nohidden } -- cgit v1.2.3