diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-12-16 14:39:18 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-12-16 15:06:25 -0500 |
commit | 7d87b96b421b76e387cee903b7b7c1bc16c54310 (patch) | |
tree | e5c90a458a1418578cf31fd80301f6f99ab96251 /tests/bfs/printf_everything.sh | |
parent | e01042b84abdfa224d47e6d11eb9798ce4c7d2f8 (diff) | |
download | bfs-7d87b96b421b76e387cee903b7b7c1bc16c54310.tar.xz |
tests: Move crash detection into invoke_bfs, use ! instead of fail
Diffstat (limited to 'tests/bfs/printf_everything.sh')
-rw-r--r-- | tests/bfs/printf_everything.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bfs/printf_everything.sh b/tests/bfs/printf_everything.sh index 5f20718..5e95830 100644 --- a/tests/bfs/printf_everything.sh +++ b/tests/bfs/printf_everything.sh @@ -1,14 +1,14 @@ everything=(%{a,b,c,d,D,f,g,G,h,H,i,k,l,m,M,n,p,P,s,S,t,u,U,y,Y}) # Check if we have fstypes -if ! fail invoke_bfs basic -printf '%F' -quit >/dev/null; then +if ! ! invoke_bfs basic -printf '%F' -quit >/dev/null; then everything+=(%F) fi everything+=(%{A,C,T}{%,+,@,a,A,b,B,c,C,d,D,e,F,g,G,h,H,I,j,k,l,m,M,n,p,r,R,s,S,t,T,u,U,V,w,W,x,X,y,Y,z,Z}) # Check if we have birth times -if ! fail invoke_bfs basic -printf '%w' -quit >/dev/null; then +if ! ! invoke_bfs basic -printf '%w' -quit >/dev/null; then everything+=(%w %{B,W}{%,+,@,a,A,b,B,c,C,d,D,e,F,g,G,h,H,I,j,k,l,m,M,n,p,r,R,s,S,t,T,u,U,V,w,W,x,X,y,Y,z,Z}) fi |