view ci/load-snd-dummy.sh @ 31357:7fe2e5f8be42 v9.0.1012

patch 9.0.1012: tests may get stuck in buffer with swap file Commit: https://github.com/vim/vim/commit/fa2533c8bb96abcec29b9dc6bd4fe7054c7c7e50 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 5 20:58:04 2022 +0000 patch 9.0.1012: tests may get stuck in buffer with swap file Problem: Tests may get stuck in buffer with swap file. Solution: Bail out when bwipe! doesn't get another buffer.
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 22:00: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