Blame 0152-TEST-99-RPM-create-dracut-rpms-to-install-first.patch
|
Harald Hoyer |
53404a |
From 2811e4ed22cb9117b7f6c221fcfe7ffb5f7e7fa2 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
53404a |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
53404a |
Date: Mon, 7 Nov 2016 13:15:56 +0100
|
|
Harald Hoyer |
53404a |
Subject: [PATCH] TEST-99-RPM: create dracut rpms to install first
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
create rpms in TESTDIR first
|
|
Harald Hoyer |
53404a |
---
|
|
Harald Hoyer |
53404a |
test/TEST-99-RPM/test.sh | 2 ++
|
|
Harald Hoyer |
53404a |
1 file changed, 2 insertions(+)
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
diff --git a/test/TEST-99-RPM/test.sh b/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
53404a |
index 31520f1..04bf0bc 100755
|
|
Harald Hoyer |
53404a |
--- a/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
53404a |
+++ b/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
53404a |
@@ -83,10 +83,12 @@ EOF
|
|
Harald Hoyer |
53404a |
}
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
test_setup() {
|
|
Harald Hoyer |
53404a |
+ make -C "$basedir" DESTDIR="$TESTDIR" rpm
|
|
Harald Hoyer |
53404a |
return 0
|
|
Harald Hoyer |
53404a |
}
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
test_cleanup() {
|
|
Harald Hoyer |
53404a |
+ rm -fr -- "$TESTDIR"/*.rpm
|
|
Harald Hoyer |
53404a |
return 0
|
|
Harald Hoyer |
53404a |
}
|
|
Harald Hoyer |
53404a |
|