52023fa87f
Convert base64 data to text before wrapping. Add sysreport to gating tests and check the exit status. Resolves: RHEL-44438 Signed-off-by: Anubhav Shelat <ashelat@redhat.com>
27 lines
322 B
Bash
27 lines
322 B
Bash
#!/usr/bin/bash
|
|
|
|
# make sure we have rteval installed
|
|
if rpm -q --quiet rteval; then
|
|
:
|
|
else
|
|
sudo dnf install -y rteval
|
|
if [[ $? != 0 ]]; then
|
|
echo "install of rteval failed!"
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
rteval --help
|
|
|
|
if [[ $? != 0 ]]; then
|
|
exit 2
|
|
fi
|
|
|
|
sudo rteval -s
|
|
|
|
if [[ $? != 0 ]]; then
|
|
exit 3
|
|
fi
|
|
|
|
exit 0
|