view ci/load-snd-dummy.sh @ 23268:65fd662b434d v8.2.2180

patch 8.2.2180: Vim9: test for error after error is flaky Commit: https://github.com/vim/vim/commit/6f17a3f0237302b82cc31fb889d9094b51856948 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 21 18:11:24 2020 +0100 patch 8.2.2180: Vim9: test for error after error is flaky Problem: Vim9: test for error after error is flaky. Solution: Wait for job to finish instead of a fixed delay.
author Bram Moolenaar <Bram@vim.org>
date Mon, 21 Dec 2020 18:15:04 +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