view ci/load-snd-dummy.sh @ 29773:94bc352727d9 v9.0.0226

patch 9.0.0226: job_start() test may fail under valgrind Commit: https://github.com/vim/vim/commit/9e043181ad51536f23d069e719d6f6b96c4c0ec0 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 18 15:22:09 2022 +0100 patch 9.0.0226: job_start() test may fail under valgrind Problem: job_start() test may fail under valgrind. Solution: Wait until the job is running.
author Bram Moolenaar <Bram@vim.org>
date Thu, 18 Aug 2022 16:30:03 +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