view ci/load-snd-dummy.sh @ 29257:4795d56a245b v8.2.5147

patch 8.2.5147: flaky test always fails on retry Commit: https://github.com/vim/vim/commit/12a49408b3d60a55b1e098f97d3f1127a75fb3bf Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 21 22:35:40 2022 +0100 patch 8.2.5147: flaky test always fails on retry Problem: Flaky test always fails on retry. Solution: Delete the created function.
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Jun 2022 23:45:03 +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