/
githubmirror
/
swtpm
Обзор
Документация
Войти
/
githubmirror
/
swtpm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/load_vtpm_proxy
11 строк
280 B
Stefan Berger
tests: Fix shellcheck issue SC2148 by adding a shell directive
31 янв 2023, 02:25
31 янв 2023, 02:25
c2b54e6
Код
Авторство
О чём код?
# shellcheck shell=bash # For the license, see the LICENSE file in the root directory. # Some distros may not have the device if [ ! -c /dev/vtpmx ]; then if ! modprobe tpm_vtpm_proxy; then echo "Skipping test using vtpm proxy module: module not available" exit 77 fi fi