view ci/load-snd-dummy.sh @ 31349:22d11340ee68 v9.0.1008

patch 9.0.1008: test for swapfilelist() fails on MS-Windows Commit: https://github.com/vim/vim/commit/6cf3151f0e3839332c89367b7384c395a1185927 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 5 15:01:05 2022 +0000 patch 9.0.1008: test for swapfilelist() fails on MS-Windows Problem: Test for swapfilelist() fails on MS-Windows. Solution: Only check the tail of the path. Mark a test as flaky.
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 16: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