dracut/0155-TEST-99-RPM-actually-use-the-generated-rpms-with-dnf.patch

25 lines
873 B
Diff
Raw Normal View History

2016-12-08 16:57:25 +00:00
From 44766d1f1f1f2f1bbbd628b76254fa08c1abbf06 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 7 Nov 2016 17:05:28 +0100
Subject: [PATCH] TEST-99-RPM: actually use the generated rpms with dnf
---
test/TEST-99-RPM/test.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/TEST-99-RPM/test.sh b/test/TEST-99-RPM/test.sh
index 23fa72c..6c71e13 100755
--- a/test/TEST-99-RPM/test.sh
+++ b/test/TEST-99-RPM/test.sh
@@ -38,8 +38,8 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
mdadm \
bash \
iscsi-initiator-utils \
- $basedir/dracut-[0-9]*.$(arch).rpm \
- $basedir/dracut-network-[0-9]*.$(arch).rpm
+ "$TESTDIR"/dracut-[0-9]*.$(arch).rpm \
+ "$TESTDIR"/dracut-network-[0-9]*.$(arch).rpm
cat >"$rootdir"/test.sh <<EOF
#!/bin/bash