re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 13:13:27 +02:00
parent 9fb0280214
commit 4bfdaafcc3
4 changed files with 41 additions and 2 deletions

6
.gitignore vendored
View File

@ -1,2 +1,6 @@
SOURCES/linux-5.18.1.tar.xz *.swp
clog
/linux-5.1.tar.xz
/linux-5.7.tar.xz
/linux-5.13.2.tar.xz
/linux-5.18.1.tar.xz /linux-5.18.1.tar.xz

View File

@ -1,6 +1,6 @@
Name: rteval-loads Name: rteval-loads
Version: 1.6 Version: 1.6
Release: 2%{?dist} Release: 3%{?dist}
Summary: Source files for rteval loads Summary: Source files for rteval loads
Group: Development/Tools Group: Development/Tools
License: GPLv2 License: GPLv2
@ -26,6 +26,10 @@ install -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
%{_datadir}/rteval/loadsource/* %{_datadir}/rteval/loadsource/*
%changelog %changelog
* Thu Jun 16 2022 John Kaucr <jkacur@redhat.com> - 1.6-2
- Rebuild
Resolves: rhbz#2093059
* Fri Jun 03 2022 John Kacur <jkacur@redhat.com> - 1.6-2 * Fri Jun 03 2022 John Kacur <jkacur@redhat.com> - 1.6-2
- Upgrade run_tests.sh with the new kernel version - Upgrade run_tests.sh with the new kernel version
Resolves: rhbz#2093059 Resolves: rhbz#2093059

View File

@ -0,0 +1,20 @@
#!/usr/bin/bash
# make sure we have rteval installed
if rpm -q --quiet rteval-loads; then
:
else
sudo dnf install -y rteval-loads
if [[ $? != 0 ]]; then
echo "install of rteval failed!"
exit 1
fi
fi
# check that the tarball is in place
if [[ ! -f /usr/share/rteval/loadsource/linux-5.18.1.tar.xz ]]; then
echo "No load tarball found!"
exit 3
fi
exit 0

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: scripts
run: ./run_tests.sh
required_packages:
- rteval-loads