From 4972b52b10779a014784fac95a6322c358b03f47 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 31 Aug 2018 18:20:35 +0900 Subject: [PATCH] tests: use dnf install and ignore /usr/lib/.build-id --- tests/test-rebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-rebuild.sh b/tests/test-rebuild.sh index 973b9b3..18d5bb7 100755 --- a/tests/test-rebuild.sh +++ b/tests/test-rebuild.sh @@ -62,10 +62,10 @@ PKGS=$(cd $ARCH; rpm -qp $(ls *-$VERREL*.rpm)) for i in $PKGS; do # FIXME: should check NVR is same before building - rpm -q --quiet $i || sudo yum install -q $i + rpm -q --quiet $i || sudo dnf install -q $i for k in list requires provides scripts; do rpm -qp --$k $ARCH/$i.rpm | grep -v rpmlib > $TMP/$i.$k.test || : rpm -q --$k $i | grep -v rpmlib > $TMP/$i.$k.installed || : - diff -u $TMP/$i.$k.installed $TMP/$i.$k.test || : + diff -u $TMP/$i.$k.installed $TMP/$i.$k.test -I /usr/lib/.build-id || : done done