teknoraver / rpms / systemd

Forked from rpms/systemd a month ago
Clone

Blame SOURCES/0129-test-make-dfuzzer-less-verbose.patch

594167
From 0e72d8a8bbed61ffa3cbf2637f1b29ade7af45be Mon Sep 17 00:00:00 2001
594167
From: Frantisek Sumsal <frantisek@sumsal.cz>
594167
Date: Tue, 21 Jun 2022 10:04:03 +0200
594167
Subject: [PATCH] test: make dfuzzer less verbose
594167
594167
Otherwise it oversaturates the journal, which in some cases can't keep
594167
up with the load of messages (due to the performance penalty caused by
594167
sanitizers), and gets killed by a watchdog.
594167
594167
(cherry picked from commit d3eb4159c9577f0a9ee776d34fcec7ad913d88a5)
594167
594167
Related: #2087652
594167
---
594167
 test/units/testsuite-21.sh | 4 ++--
594167
 1 file changed, 2 insertions(+), 2 deletions(-)
594167
594167
diff --git a/test/units/testsuite-21.sh b/test/units/testsuite-21.sh
594167
index 43b5fb6f22..604bf145ca 100755
594167
--- a/test/units/testsuite-21.sh
594167
+++ b/test/units/testsuite-21.sh
594167
@@ -72,7 +72,7 @@ mount -t tmpfs -o size=50M tmpfs /var/lib/machines
594167
 for bus in "${BUS_LIST[@]}"; do
594167
     echo "Bus: $bus (system)"
594167
     systemd-run --pipe --wait \
594167
-                -- dfuzzer -v -b "$PAYLOAD_MAX" -n "$bus"
594167
+                -- dfuzzer -b "$PAYLOAD_MAX" -n "$bus"
594167
 
594167
     # Let's reload the systemd daemon to test (de)serialization as well
594167
     systemctl daemon-reload
594167
@@ -83,7 +83,7 @@ umount /var/lib/machines
594167
 for bus in "${SESSION_BUS_LIST[@]}"; do
594167
     echo "Bus: $bus (session)"
594167
     systemd-run --machine 'testuser@.host' --user --pipe --wait \
594167
-                -- dfuzzer -v -b "$PAYLOAD_MAX" -n "$bus"
594167
+                -- dfuzzer -b "$PAYLOAD_MAX" -n "$bus"
594167
 
594167
     # Let's reload the systemd user daemon to test (de)serialization as well
594167
     systemctl --machine 'testuser@.host' --user daemon-reload