view ci/load-snd-dummy.sh @ 28524:373c70e3c542 v8.2.4786

patch 8.2.4786: test for win_gotoid() in Visual mode fails on Mac Commit: https://github.com/vim/vim/commit/861fcee8de19a694de413dd28e0ebe80010f0b4f Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 18 19:16:55 2022 +0100 patch 8.2.4786: test for win_gotoid() in Visual mode fails on Mac Problem: Test for win_gotoid() in Visual mode fails on Mac. Solution: Skip the test on MacOS.
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 Apr 2022 20:30:02 +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