summaryrefslogtreecommitdiffstats
path: root/tests/bfs/printf_everything.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-06 11:45:28 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-06 16:37:14 -0500
commit0a5a80c98cc7e5d8735b615fa197a6cff2bb08cc (patch)
treeb3b29abb87de519183c94c842863149139b104f3 /tests/bfs/printf_everything.sh
parent9f6f391358e3d8f66ebd750250479bebebe4d0d4 (diff)
downloadbfs-0a5a80c98cc7e5d8735b615fa197a6cff2bb08cc.tar.xz
tests: Skip fstype tests if the mtab isn't available
Diffstat (limited to 'tests/bfs/printf_everything.sh')
-rw-r--r--tests/bfs/printf_everything.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/bfs/printf_everything.sh b/tests/bfs/printf_everything.sh
index 58996ab..5f20718 100644
--- a/tests/bfs/printf_everything.sh
+++ b/tests/bfs/printf_everything.sh
@@ -1,4 +1,10 @@
-everything=(%{a,b,c,d,D,f,F,g,G,h,H,i,k,l,m,M,n,p,P,s,S,t,u,U,y,Y})
+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
+ 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