]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-99-RPM: use Fedora 29
authorHarald Hoyer <harald@redhat.com>
Thu, 5 Jul 2018 10:28:18 +0000 (12:28 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 5 Jul 2018 11:39:46 +0000 (13:39 +0200)
test/TEST-99-RPM/test.sh

index 5c25f954effd8d178c5b191bc5d52cc4bab21342..b76a061b46375ac4a94ffeb1d96e1705f2c4a962 100755 (executable)
@@ -35,7 +35,7 @@ test_run() {
     dnf_or_yum_cmd=yum
     command -v dnf >/dev/null && { dnf_or_yum="dnf"; dnf_or_yum_cmd="dnf --allowerasing"; }
     for (( i=0; i < 5 ; i++)); do
-        $dnf_or_yum_cmd -v --nogpgcheck --installroot "$rootdir"/ --releasever 25 --disablerepo='*' \
+        $dnf_or_yum_cmd -v --nogpgcheck --installroot "$rootdir"/ --releasever 29 --disablerepo='*' \
                         --enablerepo=fedora --enablerepo=updates \
                         install -y \
                         $dnf_or_yum \
@@ -63,7 +63,11 @@ test_run() {
 #!/bin/bash
 set -x
 export LC_MESSAGES=C
-rpm -Va |& grep -F -v '85-display-manager.preset' &> /test.output
+rpm -Va |& \
+    grep -F \
+       '85-display-manager.preset| /run| /var| /usr/lib/variant| /etc/machine-id| /etc/systemd/system/dbus-org.freedesktop.network1.service| /etc/systemd/system/dbus-org.freedesktop.resolve1.service| /etc/udev/hwdb.bin| /usr/share/info/dir.old' \
+    &> /test.output
+
 find / -xdev -type f -not -path '/var/*' \
   -not -path '/usr/lib/modules/*/modules.*' \
   -not -path '/etc/*-' \