Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adaption to new ECS interface and PMS interface prefix
[nonrtric.git]
/
test
/
common
/
agent_api_functions.sh
diff --git
a/test/common/agent_api_functions.sh
b/test/common/agent_api_functions.sh
index
98a8b56
..
1cd430e
100644
(file)
--- a/
test/common/agent_api_functions.sh
+++ b/
test/common/agent_api_functions.sh
@@
-308,7
+308,7
@@
api_equal() {
if [ $# -eq 2 ] || [ $# -eq 3 ]; then
if [[ $1 == "json:"* ]]; then
if [ "$PMS_VERSION" == "V2" ]; then
if [ $# -eq 2 ] || [ $# -eq 3 ]; then
if [[ $1 == "json:"* ]]; then
if [ "$PMS_VERSION" == "V2" ]; then
- __var_test "Policy Agent" $PA_PATH"/v2/" $1 "=" $2 $3
+ __var_test "Policy Agent" $PA_PATH
$PMS_API_PREFIX
"/v2/" $1 "=" $2 $3
else
__var_test "Policy Agent" $PA_PATH"/" $1 "=" $2 $3
fi
else
__var_test "Policy Agent" $PA_PATH"/" $1 "=" $2 $3
fi