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

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