ffec7909cc
The Fedora rawhide CI tests are used. This pull request enables tests in the RHEL gating using `tmt` which also allows to easily execute and debug tests from your laptop: Run tests directly on your localhost: sudo dnf install -y tmt tmt run --all provision --how local Run tests in a virtual machine: sudo dnf install -y tmt-provision-virtual tmt run Check the documentation to learn more about the tool: https://docs.fedoraproject.org/en-US/ci/tmt/ Related: rhbz#2006718
22 lines
462 B
Bash
Executable File
22 lines
462 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
ls /tmp
|
|
|
|
LOG_DIR=/tmp
|
|
|
|
cd ${LOG_DIR}
|
|
KS_SCRIPT_LOGS=$(ls ks-script-*.log)
|
|
cd -
|
|
|
|
ANACONDA_LOGS="anaconda.log storage.log packaging.log program.log dbus.log dnf.librepo.log ${KS_SCRIPT_LOGS}"
|
|
|
|
for log in ${ANACONDA_LOGS} ; do
|
|
LOG_PATH=${LOG_DIR}/${log}
|
|
if [ -f ${LOG_PATH} ]; then
|
|
echo "----------------------- Dumping log file $LOG_PATH:"
|
|
cat $LOG_PATH
|
|
# clear for the following test
|
|
rm $LOG_PATH
|
|
fi
|
|
done
|