1e67c0e973
Add relative cpulists for measurements Convert CpuList class to a module Disable use of python-dmidecode Makefile: More rpm cleanups systopology: Fix incorrect test to invert a cpulist Minor improvements to CpuList class Refactor collapse_cpulist in systopology Added the tests dir Resolves: RHEL-30162 Signed-off-by: John Kacur <jkacur@redhat.com>
21 lines
267 B
Bash
21 lines
267 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
|
|
|
|
exit 0
|