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