view ci/load-snd-dummy.sh @ 27167:391eb1c30344 v8.2.4112

patch 8.2.4112: function not deleted at end of test Commit: https://github.com/vim/vim/commit/d9b74a2a41e43ca17a9885ec0a58404adff4273f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 16 15:00:08 2022 +0000 patch 8.2.4112: function not deleted at end of test Problem: Function not deleted at end of test. Solution: Delete the function.
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Jan 2022 16:15:03 +0100
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