diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-06 11:45:28 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-06 16:37:14 -0500 |
commit | 0a5a80c98cc7e5d8735b615fa197a6cff2bb08cc (patch) | |
tree | b3b29abb87de519183c94c842863149139b104f3 /tests/gnu | |
parent | 9f6f391358e3d8f66ebd750250479bebebe4d0d4 (diff) | |
download | bfs-0a5a80c98cc7e5d8735b615fa197a6cff2bb08cc.tar.xz |
tests: Skip fstype tests if the mtab isn't available
Diffstat (limited to 'tests/gnu')
-rw-r--r-- | tests/gnu/fstype.sh | 1 |
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" |