view ci/load-snd-dummy.sh @ 20820:3e606a19fa13 v8.2.0962

patch 8.2.0962: terminal test sometimes hangs on Travis Commit: https://github.com/vim/vim/commit/f6e020b1225970d95e6848b79066f82d9e65b66c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 12 20:11:55 2020 +0200 patch 8.2.0962: terminal test sometimes hangs on Travis Problem: Terminal test sometimes hangs on Travis. Solution: Do show output for this test temporarily.
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Jun 2020 20:15:04 +0200
parents c94c103e7cb4
children 3a7017ee1161
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 install -y "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi