view ci/load-snd-dummy.sh @ 23094:8b93aea8d9d7 v8.2.2093

patch 8.2.2093: Vim9: script test sometimes fails Commit: https://github.com/vim/vim/commit/c0913d023b8bb728e9832727fe1657dbddf685d0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 5 14:44:37 2020 +0100 patch 8.2.2093: Vim9: script test sometimes fails Problem: Vim9: script test sometimes fails. Solution: Do not find a script variable by its typval if the name was cleared.
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Dec 2020 14:45: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