diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-04-18 12:43:36 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-04-18 12:43:36 -0400 |
commit | c94f29e4bb0406e0adf7ce3f9865091bcfdfc690 (patch) | |
tree | 249451fca58eb6f315f19fe734f398c643a7b208 /tests.sh | |
parent | 6b0ee95e24dc0ac2bda679f78d244cebb889fb2c (diff) | |
download | bfs-c94f29e4bb0406e0adf7ce3f9865091bcfdfc690.tar.xz |
tests: Don't fail -flags test if we can't set flags
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 } |