Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: CSIT documentation auto generation
[csit.git]
/
bootstrap-vpp-verify-semiweekly.sh
diff --git
a/bootstrap-vpp-verify-semiweekly.sh
b/bootstrap-vpp-verify-semiweekly.sh
index
c2ed4ea
..
e6c48ec
100644
(file)
--- a/
bootstrap-vpp-verify-semiweekly.sh
+++ b/
bootstrap-vpp-verify-semiweekly.sh
@@
-199,7
+199,7
@@
VIRL_SID=$(ssh ${SSH_OPTIONS} \
${VIRL_USERNAME}@${VIRL_SERVER} \
"start-testcase -c ${VIRL_TOPOLOGY} -r ${VIRL_RELEASE} ${VPP_DEBS_VIRL[@]}")
retval=$?
${VIRL_USERNAME}@${VIRL_SERVER} \
"start-testcase -c ${VIRL_TOPOLOGY} -r ${VIRL_RELEASE} ${VPP_DEBS_VIRL[@]}")
retval=$?
-if [
"$?"
-ne "0" ]; then
+if [
${retval}
-ne "0" ]; then
echo "VIRL simulation start failed"
exit ${retval}
fi
echo "VIRL simulation start failed"
exit ${retval}
fi
@@
-221,7
+221,7
@@
scp ${SSH_OPTIONS} \
topologies/enabled/topology_VIRL.yaml
retval=$?
topologies/enabled/topology_VIRL.yaml
retval=$?
-if [
"$?"
-ne "0" ]; then
+if [
${retval}
-ne "0" ]; then
echo "Failed to copy topology file from VIRL simulation"
exit ${retval}
fi
echo "Failed to copy topology file from VIRL simulation"
exit ${retval}
fi