/
githubmirror
/
rpm
Обзор
Документация
Войти
/
githubmirror
/
rpm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/mktree.rootfs
26 строк
603 B
Panu Matilainen
Run test-suite environment setup inside the image
23 янв 2025, 12:51
23 янв 2025, 12:51
add3e06
Код
Авторство
О чём код?
#!/bin/bash # # Rootfs mktree backend for use in throwaway build containers. # Installs RPM into / and runs the test-suite against the same. # # PWD must be host-mounted for OverlayFS mounts to work. # The / filesystem should be read-only to prevent parallel tests from altering # it (online changes to an underlying filesystem are disallowed in OverlayFS). set -e CMD=$1; shift case $CMD in build) source ./mktree.common make_install / ./setup.sh / ;; check) ./rpmtests "$@" ;; *) echo "Unsupported command." >&2 exit 1 ;; esac