Fix broken smoke test
This commit is contained in:
parent
ff73caace9
commit
a5f24502c1
@ -15,7 +15,7 @@
|
||||
Summary: Generic library for reporting various problems
|
||||
Name: libreport
|
||||
Version: 2.15.2
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
License: GPLv2+
|
||||
URL: https://abrt.readthedocs.org/
|
||||
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
@ -652,6 +652,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jan 06 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-9
|
||||
- Bump release for rebuild
|
||||
|
||||
* Thu Jan 06 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-8
|
||||
- Bump release for rebuild
|
||||
|
||||
|
@ -8,6 +8,5 @@ prepare:
|
||||
- python3-abrt-container-addon
|
||||
execute:
|
||||
script: |
|
||||
test/smoke.sh
|
||||
tests/smoke.sh
|
||||
report-cli --version
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
echo "int main(){libreport_init();}" | gcc -x c -lreport -Wno-implicit-function-declaration -
|
||||
./a.out
|
||||
rm -f a.out
|
||||
gcc -x c -o smoke_test -lreport -Wno-implicit-function-declaration - <<EOF
|
||||
int main(void) {
|
||||
libreport_init();
|
||||
}
|
||||
EOF
|
||||
./smoke_test
|
||||
|
Loading…
Reference in New Issue
Block a user