annotate ci/load-snd-dummy.sh @ 31930:e3ab1d0f2ef9 v9.0.1297

patch 9.0.1297: wrong value for $LC_CTYPE makes the environ test fail Commit: https://github.com/vim/vim/commit/962d91643520ec3748fcf5af3263d89ccfcdda92 Author: WuerfelDev <dev@wuerfeldev.de> Date: Fri Feb 10 20:49:08 2023 +0000 patch 9.0.1297: wrong value for $LC_CTYPE makes the environ test fail Problem: Wrong value for $LC_CTYPE makes the environ test fail. Solution: Unset $LC_CTYPE when running tests. (closes https://github.com/vim/vim/issues/11963)
author Bram Moolenaar <Bram@vim.org>
date Fri, 10 Feb 2023 22:00:03 +0100
parents 3a7017ee1161
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 #!/bin/bash
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 set -e
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 if ! modprobe snd-dummy; then
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 # snd-dummy is contained in linux-modules-extra (if exists)
21875
3a7017ee1161 patch 8.2.1487: Travis: installing snd-dummy is not always useful
Bram Moolenaar <Bram@vim.org>
parents: 19722
diff changeset
6 apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
19722
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 modprobe snd-dummy
c94c103e7cb4 patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 fi