view ci/load-snd-dummy.sh @ 22008:3ea6b4a5369a

patch 8.2.1553: crash in edit test Commit: https://github.com/vim/vim/commit/2c93c685e3334c50d9a748ad699df727a4501b08 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 31 21:15:02 2020 +0200 patch 8.2.1553: crash in edit test Problem: Crash in edit test. Solution: Avoid using invalid pointer.
author Bram Moolenaar <Bram@vim.org>
date Mon, 31 Aug 2020 21:15:17 +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