Minix mount test returs failure if kernel have no minix support, minix: mkfs ... FAILED (minix/mkfs) ignore test result instead in this case. Signed-off-by: Milan Broz <mbroz@xxxxxxxxxx> --- tests/ts/minix/mkfs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ts/minix/mkfs b/tests/ts/minix/mkfs index 93de4e6..39185ad 100755 --- a/tests/ts/minix/mkfs +++ b/tests/ts/minix/mkfs @@ -35,7 +35,8 @@ ts_log "create mountpoint dir" [ -d "$TS_MOUNTPOINT" ] || mkdir -p $TS_MOUNTPOINT ts_log "mount the filesystem" -$TS_CMD_MOUNT $DEVICE $TS_MOUNTPOINT 2>&1 >> $TS_OUTPUT +($TS_CMD_MOUNT $DEVICE $TS_MOUNTPOINT 2>&1 >> $TS_OUTPUT || true) \ + | grep -q "unknown filesystem type" && ts_skip "mkfs: minix fs not supported by kernel" # check it ts_is_mounted $DEVICE || ts_die "Cannot find $DEVICE in /proc/mounts" $DEVICE -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html