From 8ee4a5329c5b57cbf3ab6eb11243f06cc69c7923 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 1 Apr 2019 13:54:08 -0500 Subject: [PATCH] Enhance testing. --- libxdg-basedir.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libxdg-basedir.spec b/libxdg-basedir.spec index 23e1d2f..035cc71 100644 --- a/libxdg-basedir.spec +++ b/libxdg-basedir.spec @@ -1,6 +1,6 @@ Name: libxdg-basedir Version: 1.2.0 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Implementation of the XDG Base Directory Specifications License: MIT @@ -62,9 +62,14 @@ make install DESTDIR="$RPM_BUILD_ROOT" find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' - %check make check USE_VALGRIND=1 +env -i make check USE_VALGRIND=1 +# Check that we get NULL for all things rooted in ENV{HOME} when running +# with HOME unset +env -i ./tests/testdump | grep null > grep.NULL +env -i ./tests/testdump | grep HOME | grep -v DIRS > grep.HOME +diff -u grep.NULL grep.HOME %ldconfig_scriptlets @@ -81,6 +86,9 @@ make check USE_VALGRIND=1 %doc doc/html/ %changelog +* Mon Apr 01 2019 Gwyn Ciesla - 1.2.0-20 +- Enhance testing. + * Mon Apr 01 2019 Gwyn Ciesla - 1.2.0-19 - Patch correction.