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

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