azure-linux-automation/remote-scripts/RHUI-BVT-VERIFY-RPM-SOURCE.sh

10 строки
246 B
Bash

#!/bin/bash
echo 'TestRunning' > state.txt
sudo bash rhui-rpm-source-check.sh > RHUI-BVT-VERIFY-RPM-SOURCE.sh.log
if [[ $? == 0 ]]; then
echo 'PASS' > Summary.log
else
echo 'FAIL' > Summary.log
fi
echo 'TestCompleted' > state.txt