view ci/load-snd-dummy.sh @ 31037:ac16c9a934ad v9.0.0853

patch 9.0.0853: terminal mouse test is still flaky on MacOS M1 Commit: https://github.com/vim/vim/commit/98aebcc2c6f4b131d2098ebc60c4a552a5163aec Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 10 12:38:16 2022 +0000 patch 9.0.0853: terminal mouse test is still flaky on MacOS M1 Problem: Terminal mouse test is still flaky on MacOS M1. Solution: Also wait for the file to have some contents.
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Nov 2022 13:45:08 +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