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