view ci/load-snd-dummy.sh @ 25549:dc25589bfec0 v8.2.3311

patch 8.2.3311: Vim9: check for DO_NOT_FREE_CNT is very slow Commit: https://github.com/vim/vim/commit/dae453f3397a26a53301d7327e6ed43e8b392035 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 7 17:20:16 2021 +0200 patch 8.2.3311: Vim9: check for DO_NOT_FREE_CNT is very slow Problem: Vim9: check for DO_NOT_FREE_CNT is very slow. Solution: Move to a separate function so it can be skipped by setting $TEST_SKIP_PAT.
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Aug 2021 17: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