]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-99-RPM: create dracut rpms to install first
authorHarald Hoyer <harald@redhat.com>
Mon, 7 Nov 2016 12:15:56 +0000 (13:15 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 7 Nov 2016 12:15:56 +0000 (13:15 +0100)
create rpms in TESTDIR first

test/TEST-99-RPM/test.sh

index 31520f1465b58297cf4a7d5ba5656757262aab9d..04bf0bc309c826f48ad2ac86e62126adb7eebe44 100755 (executable)
@@ -83,10 +83,12 @@ EOF
 }
 
 test_setup() {
+    make -C "$basedir" DESTDIR="$TESTDIR" rpm
     return 0
 }
 
 test_cleanup() {
+    rm -fr -- "$TESTDIR"/*.rpm
     return 0
 }