richardphibel / rpms / systemd

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