Add missing tests to fix osci.brew-build.tier0.functional
resolves: rhbz#2190427
This commit is contained in:
parent
9ea1cf841f
commit
7f4cb9717a
@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmLhN68ACgkQR5ORYRMI
|
||||
QCWqKAgAswqnQft1oEc4c2DIJIF9jcXfLeOz4czUndBu5st6h3KVqZDCWjUAdPdX
|
||||
BrYV+6cLTtDSjH0nQocnvtwm3AbVPxwukBglVtEuq0DU4fk8DptzRJvyLy2vU5VP
|
||||
sKQQ+uwgYSWnKeds0PjPNMxpompeurDbQ1n4XgW4BzRQpK4Gvg6ZXBGg+q5nKht2
|
||||
+PfQTVuaPi4O6gUWfxDbLBBPNDf97gz21Sa8pS1K3sspcPQJzMNumXs/d9LBhU1G
|
||||
BaDanganpN1Ru724J18jvZ8NEogldHuSk29DljreHiiWY2hEVlp5rZDTgrlYOP50
|
||||
b9kfHAnpBcHhQZlLf2/hponIccDo6A==
|
||||
=ccfS
|
||||
-----END PGP SIGNATURE-----
|
@ -25,7 +25,7 @@
|
||||
|
||||
Name: libldb
|
||||
Version: 2.7.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A schema-less, ldap like, API and database
|
||||
Requires: libtalloc%{?_isa} >= %{talloc_version}
|
||||
Requires: libtdb%{?_isa} >= %{tdb_version}
|
||||
@ -222,6 +222,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed May 24 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.7.2-2
|
||||
- resolves: rhbz#2190427 - Add missing tests to fix osci.brew-build.tier0.functional
|
||||
|
||||
* Thu May 18 2023 Pavel Filipenský <pfilipen@redhat.com> - 2.7.2-1
|
||||
- resolves: rhbz#2190427 - Update to version 2.7.2
|
||||
|
||||
|
5
rpminspect.yaml
Normal file
5
rpminspect.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
runpath:
|
||||
allowed_paths:
|
||||
- /usr/lib/ldb
|
||||
- /usr/lib64/ldb
|
10
tests/sanity/Makefile
Normal file
10
tests/sanity/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
ldb_mod_op-test: ldb_mod_op_test.c
|
||||
gcc ldb_mod_op_test.c -lldb -ltevent -ltalloc -lcmocka -o ldb_mod_op-test
|
||||
|
||||
run: ldb_mod_op-test
|
||||
@echo "Running ldb_mod_op-test"
|
||||
./ldb_mod_op-test
|
||||
|
||||
clean:
|
||||
rm -f ldb_mod_op-test
|
4555
tests/sanity/ldb_mod_op_test.c
Normal file
4555
tests/sanity/ldb_mod_op_test.c
Normal file
File diff suppressed because it is too large
Load Diff
4
tests/sanity/ldbtest.sh
Executable file
4
tests/sanity/ldbtest.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#/bin/bash
|
||||
|
||||
make run || exit 1
|
||||
make clean || exit 2
|
20
tests/tests.yml
Normal file
20
tests/tests.yml
Normal file
@ -0,0 +1,20 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- sanity:
|
||||
dir: sanity
|
||||
run: ./ldbtest.sh
|
||||
required_packages:
|
||||
- make
|
||||
- gcc
|
||||
- libldb
|
||||
- libldb-devel
|
||||
- libtevent
|
||||
- libtevent-devel
|
||||
- libtalloc
|
||||
- libtalloc-devel
|
||||
- libcmocka
|
||||
- libcmocka-devel
|
Loading…
Reference in New Issue
Block a user