Fix broken smoke test

This commit is contained in:
Matěj Grabovský 2022-01-06 17:08:54 +01:00
parent ff73caace9
commit a5f24502c1
3 changed files with 11 additions and 6 deletions

View File

@ -15,7 +15,7 @@
Summary: Generic library for reporting various problems Summary: Generic library for reporting various problems
Name: libreport Name: libreport
Version: 2.15.2 Version: 2.15.2
Release: 8%{?dist} Release: 9%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://abrt.readthedocs.org/ URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz 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 %endif
%changelog %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 * Thu Jan 06 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-8
- Bump release for rebuild - Bump release for rebuild

View File

@ -8,6 +8,5 @@ prepare:
- python3-abrt-container-addon - python3-abrt-container-addon
execute: execute:
script: | script: |
test/smoke.sh tests/smoke.sh
report-cli --version report-cli --version

View File

@ -1,5 +1,8 @@
#!/usr/bin/bash #!/usr/bin/bash
echo "int main(){libreport_init();}" | gcc -x c -lreport -Wno-implicit-function-declaration - gcc -x c -o smoke_test -lreport -Wno-implicit-function-declaration - <<EOF
./a.out int main(void) {
rm -f a.out libreport_init();
}
EOF
./smoke_test