summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-16 18:03:44 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-16 18:03:44 -0500
commit0040a91a6b3a192acfeec0ae1e24516b54ba872a (patch)
tree9a64bb5571ea9fb90ddd7d933e328f6ee62330a4
parentf92fa445c278ffa601b13b4ba98f35c8af16b761 (diff)
downloadbfs-0040a91a6b3a192acfeec0ae1e24516b54ba872a.tar.xz
tests/bfs/printf_everything: Simplify double negation
-rw-r--r--tests/bfs/printf_everything.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bfs/printf_everything.sh b/tests/bfs/printf_everything.sh
index 5e95830..07d574a 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 ! ! 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 ! ! 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