diff --git a/abicheck.spec b/abicheck.spec index 6296b77..dc147cf 100644 --- a/abicheck.spec +++ b/abicheck.spec @@ -46,7 +46,18 @@ install -p -m 0644 abicheck.1 $RPM_BUILD_ROOT%{_mandir}/man1 %check cd test +# most of this is debug stuff only +make private1 public1 +for a in $(seq 1 50); do ( + echo "-----" + ../abicheck ./public1 || : + LD_DEBUG=files,bindings ldd -r ./public1 || : + ../abicheck ./private1 | egrep 'PRIVATE:.*libc.*(__open|__nanosleep)' || : + LD_DEBUG=files,bindings ldd -r ./private1 || : +); done +cd - make test +: %clean