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

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