summaryrefslogtreecommitdiffstats
path: root/tests/gnu
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/gnu
parent9f6f391358e3d8f66ebd750250479bebebe4d0d4 (diff)
downloadbfs-0a5a80c98cc7e5d8735b615fa197a6cff2bb08cc.tar.xz
tests: Skip fstype tests if the mtab isn't available
Diffstat (limited to 'tests/gnu')
-rw-r--r--tests/gnu/fstype.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gnu/fstype.sh b/tests/gnu/fstype.sh
index 176688d..939438e 100644
--- a/tests/gnu/fstype.sh
+++ b/tests/gnu/fstype.sh
@@ -1,2 +1,3 @@
fstype=$(invoke_bfs basic -maxdepth 0 -printf '%F\n')
+skip_if test $? -ne 0
bfs_diff basic -fstype "$fstype"