view ci/load-snd-dummy.sh @ 25963:aaec2028c8fc v8.2.3515

patch 8.2.3515: nano time test fails on Mac and FreeBSD Commit: https://github.com/vim/vim/commit/def69dffb3d09a69629b071c89b7893a1783ba53 Author: ichizok <gclient.gaap@gmail.com> Date: Fri Oct 15 17:23:12 2021 +0100 patch 8.2.3515: nano time test fails on Mac and FreeBSD Problem: Nano time test fails on Mac and FreeBSD. Solution: Also check nano time when not on Linux. (Ozaki Kiichi, closes #9000)
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 Oct 2021 18:30:05 +0200
parents 3a7017ee1161
children
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-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi