Package not found: openSUSE:Slowroll:Build:1/gettext-runtime

File 0001-Test-cts-set-default-number-of-iterations-to-1.patch of Package pacemaker.11072

From b83a8beb0c0b7f20485c0b16cde7b087faf6f9f3 Mon Sep 17 00:00:00 2001
From: Aleksei Burlakov <aleksei.burlakov@suse.com>
Date: Wed, 28 Nov 2018 13:00:44 +0100
Subject: [PATCH] Test: cts: set default number of iterations to 1

It is expected that when starting a certain test without parameters it
is run once.
---
 cts/CTSlab.py.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cts/CTSlab.py.in b/cts/CTSlab.py.in
index 0f7b7d8e6..7043130e6 100644
--- a/cts/CTSlab.py.in
+++ b/cts/CTSlab.py.in
@@ -45,6 +45,8 @@ if __name__ == '__main__':
 
     Environment = CtsLab(sys.argv[1:])
     NumIter = Environment["iterations"]
+    if NumIter is None:
+        NumIter = 1
     Tests = []
 
     # Set the signal handler
-- 
2.16.4

openSUSE Build Service is sponsored by