]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-99-RPM: use --best and install all rpms
authorHarald Hoyer <harald@redhat.com>
Mon, 14 Nov 2016 11:27:33 +0000 (12:27 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 14 Nov 2016 11:27:33 +0000 (12:27 +0100)
test/TEST-99-RPM/test.sh

index 345d5240b2f4a9037d1c85140df39610d0e95353..f2efea0cf26b40d166527fb7efdf8bc23c19a969 100755 (executable)
@@ -36,6 +36,7 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
     command -v dnf >/dev/null && { dnf_or_yum="dnf"; dnf_or_yum_cmd="dnf --allowerasing"; }
     $dnf_or_yum_cmd -v --nogpgcheck --installroot "$rootdir"/ --releasever 25 --disablerepo='*' \
                 --enablerepo=fedora --enablerepo=updates \
+                --best \
                 install -y \
        $dnf_or_yum \
        passwd \
@@ -50,11 +51,8 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
        mdadm \
     bash \
     iscsi-initiator-utils \
-    "$TESTDIR"/dracut-[0-9]*.$(arch).rpm \
+    "$TESTDIR"/dracut-*.rpm \
     ${NULL}
-    #"$TESTDIR"/dracut-config-rescue-[0-9]*.$(arch).rpm \
-    #"$TESTDIR"/dracut-network-[0-9]*.$(arch).rpm \
-#    ${NULL}
 
     cat >"$rootdir"/test.sh <<EOF
 #!/bin/bash