Blame SOURCES/bz2103370-ocf-tester-1-update.patch

4ff291
From 46e8d346ca4803245f51a157591c4df1126d3b49 Mon Sep 17 00:00:00 2001
4ff291
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
4ff291
Date: Tue, 12 Jul 2022 12:45:52 +0200
4ff291
Subject: [PATCH] ocf-tester: use promotable terms
4ff291
4ff291
---
4ff291
 tools/ocf-tester.in | 8 ++++----
4ff291
 1 file changed, 4 insertions(+), 4 deletions(-)
4ff291
4ff291
diff --git a/tools/ocf-tester.in b/tools/ocf-tester.in
4ff291
index 10822a5a06..f1703ba1b7 100755
4ff291
--- a/tools/ocf-tester.in
4ff291
+++ b/tools/ocf-tester.in
4ff291
@@ -295,10 +295,10 @@ if [ $rc -eq 3 ]; then
4ff291
 
4ff291
 elif [ $rc -eq 8 ]; then
4ff291
     test_command demote "Cleanup, demote"
4ff291
-    assert $? 0 "Your agent was a master and could not be demoted" 1
4ff291
+    assert $? 0 "Your agent was promoted and could not be demoted" 1
4ff291
 
4ff291
     test_command stop "Cleanup, stop"
4ff291
-    assert $? 0 "Your agent was a master and could not be stopped" 1
4ff291
+    assert $? 0 "Your agent was promoted and could not be stopped" 1
4ff291
 
4ff291
 elif [ $rc -ne 7 ]; then
4ff291
     test_command stop
4ff291
@@ -370,10 +370,10 @@ if [ $has_promote -eq 1 -a $has_demote -eq 1 ]; then
4ff291
     assert $? 0 "Demote failed" 1
4ff291
 
4ff291
 elif [ $has_promote -eq 0 -a $has_demote -eq 0 ]; then
4ff291
-    info "* Your agent does not support master/slave (optional)"
4ff291
+    info "* Your agent does not support promotable clones (optional)"
4ff291
 
4ff291
 else
4ff291
-    echo "* Your agent partially supports master/slave"
4ff291
+    echo "* Your agent partially supports promotable clones"
4ff291
     num_errors=`expr $num_errors + 1`
4ff291
 fi
4ff291