summaryrefslogtreecommitdiffstats
path: root/test/units
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2022-08-25 14:25:07 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2022-08-26 15:40:34 +0200
commitb307c227579976ea70a220265e7954d76944ca78 (patch)
treedf497df5a1e89e48a8859cf57fcd03154781cf92 /test/units
parenttest: require KVM only for specific sub-tests (diff)
downloadsystemd-b307c227579976ea70a220265e7954d76944ca78.tar.xz
systemd-b307c227579976ea70a220265e7954d76944ca78.zip
test: lower the # of iterations with plain QEMU
Diffstat (limited to 'test/units')
-rwxr-xr-xtest/units/testsuite-64.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/testsuite-64.sh b/test/units/testsuite-64.sh
index 61fed6648c..3ae1bddaf4 100755
--- a/test/units/testsuite-64.sh
+++ b/test/units/testsuite-64.sh
@@ -178,7 +178,7 @@ EOF
# leading to dead symlinks in /dev/disk/
iterations=100
timeout=30
- if [[ -n "${ASAN_OPTIONS:-}" ]]; then
+ if [[ -n "${ASAN_OPTIONS:-}" ]] || [[ "$(systemd-detect-virt -v)" == "qemu" ]]; then
iterations=10
timeout=180
fi