Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[DMAAP-MR] Correct zoo-entrance image definition in statefulset"
[oom.git]
/
kubernetes
/
robot
/
ete-k8s.sh
diff --git
a/kubernetes/robot/ete-k8s.sh
b/kubernetes/robot/ete-k8s.sh
index
576b669
..
4ef8f46
100755
(executable)
--- a/
kubernetes/robot/ete-k8s.sh
+++ b/
kubernetes/robot/ete-k8s.sh
@@
-1,4
+1,4
@@
-#!/bin/
ba
sh
+#!/bin/sh
# Copyright © 2018 Amdocs, Bell Canada
#
# Copyright © 2018 Amdocs, Bell Canada
#
@@
-18,7
+18,7
@@
# Run the testsuite for the passed tag. Valid tags are listed in usage help
# Please clean up logs when you are done...
#
# Run the testsuite for the passed tag. Valid tags are listed in usage help
# Please clean up logs when you are done...
#
-if [ "$1" =
= "" ] || [ "$2" =
= "" ]; then
+if [ "$1" =
"" ] || [ "$2"
= "" ]; then
echo "Usage: ete-k8s.sh [namespace] [tag] [execscript]"
echo ""
echo " List of test case tags (filename for intent: tag)"
echo "Usage: ete-k8s.sh [namespace] [tag] [execscript]"
echo ""
echo " List of test case tags (filename for intent: tag)"
@@
-76,9
+76,9
@@
SCRIPTDIR=scripts/etescript
ETEHOME=/var/opt/ONAP
ETEHOME=/var/opt/ONAP
-if [
[ "${!#}" == "execscript" ]
]; then
+if [
"${!#}" = "execscript"
]; then
for script in $(ls -1 "$DIR/$SCRIPTDIR"); do
for script in $(ls -1 "$DIR/$SCRIPTDIR"); do
- [ -f "$DIR/$SCRIPTDIR/$script" ] && [ -x "$DIR/$SCRIPTDIR/$script" ] &&
source
"$DIR/$SCRIPTDIR/$script"
+ [ -f "$DIR/$SCRIPTDIR/$script" ] && [ -x "$DIR/$SCRIPTDIR/$script" ] &&
.
"$DIR/$SCRIPTDIR/$script"
done
fi
done
fi