dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
8d419f
From e162696827d97449e6395fc017fe6865aa6f1ad1 Mon Sep 17 00:00:00 2001
8d419f
From: Frantisek Sumsal <frantisek@sumsal.cz>
8d419f
Date: Tue, 21 Jun 2022 10:01:30 +0200
8d419f
Subject: [PATCH] test: always force a new image for dfuzzer
8d419f
8d419f
Otherwise we might end up with an image containing broken service
8d419f
symlinks and other things, which break certain parts of the test.
8d419f
8d419f
(cherry picked from commit 5dffa6b032168305213e4fb0d72fb02363acfd65)
8d419f
8d419f
Related: #2087652
8d419f
---
8d419f
 test/TEST-21-DFUZZER/test.sh | 2 ++
8d419f
 1 file changed, 2 insertions(+)
8d419f
8d419f
diff --git a/test/TEST-21-DFUZZER/test.sh b/test/TEST-21-DFUZZER/test.sh
8d419f
index 42e37c8a9c..7669e4e0ad 100755
8d419f
--- a/test/TEST-21-DFUZZER/test.sh
8d419f
+++ b/test/TEST-21-DFUZZER/test.sh
8d419f
@@ -6,6 +6,8 @@ TEST_DESCRIPTION="Fuzz our D-Bus interfaces with dfuzzer"
8d419f
 TEST_NO_NSPAWN=1
8d419f
 TEST_SUPPORTING_SERVICES_SHOULD_BE_MASKED=0
8d419f
 QEMU_TIMEOUT="${QEMU_TIMEOUT:-1800}"
8d419f
+IMAGE_NAME=dfuzzer
8d419f
+TEST_FORCE_NEWIMAGE=1
8d419f
 
8d419f
 # shellcheck source=test/test-functions
8d419f
 . "${TEST_BASE_DIR:?}/test-functions"