From 0a5a80c98cc7e5d8735b615fa197a6cff2bb08cc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 6 Nov 2022 11:45:28 -0500 Subject: tests: Skip fstype tests if the mtab isn't available --- tests/gnu/fstype.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/gnu') 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" -- cgit v1.2.3