Code Review
/
one.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add source/dest tests
[one.git]
/
tests
/
data_plane
/
vpp_lite_topo
/
config.sh
diff --git
a/tests/data_plane/vpp_lite_topo/config.sh
b/tests/data_plane/vpp_lite_topo/config.sh
index
a4709f0
..
2c58007
100644
(file)
--- a/
tests/data_plane/vpp_lite_topo/config.sh
+++ b/
tests/data_plane/vpp_lite_topo/config.sh
@@
-135,6
+135,17
@@
function assert_rc_ok
# assert_rc_ok rc cleanup_fcn error_msg
if [ $1 -ne 0 ] ; then
echo $3
+ maybe_pause
+ $2
+ exit $test_result
+ fi
+}
+
+function assert_rc_not_ok
+{
+ if [ $1 -eq 0 ] ; then
+ echo $3
+ maybe_pause
$2
exit $test_result
fi