view ci/load-snd-dummy.sh @ 20263:a85a3207679f v8.2.0687

patch 8.2.0687: some tests do not work on FreeBSD Commit: https://github.com/vim/vim/commit/41d4299f26cc98e253f9c63f8adc9dbb9d49ed5c Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 3 16:29:50 2020 +0200 patch 8.2.0687: some tests do not work on FreeBSD Problem: Some tests do not work on FreeBSD. Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi, closes #6036)
author Bram Moolenaar <Bram@vim.org>
date Sun, 03 May 2020 16:30:04 +0200
parents c94c103e7cb4
children 3a7017ee1161
line wrap: on
line source

#!/bin/bash
set -e

if ! modprobe snd-dummy; then
    # snd-dummy is contained in linux-modules-extra (if exists)
    apt install -y "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi