This repository was archived by the owner on Nov 2, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ function print_msg {
44 echo -e " ${MSG_COLOR} *** $( date) : tests.sh | $@ ${NOCOLOR} "
55}
66
7- function run_exec_test {
7+ function run_cmd {
88 local cmd=$@
99 print_msg " Running command: $cmd "
1010 $cmd
@@ -151,6 +151,9 @@ cd ../cisco-nx-os
151151${PYTHON_BIN} setup.py sdist
152152pip_check_install dist/* .tar.gz
153153
154- print_msg " Running codec sample"
154+ print_msg " Checking ${PYTHON_BIN} environment"
155+ run_cmd ${PIP_BIN} list
156+
157+ print_msg " Running codec sample test"
155158cd ../core/samples
156159${PYTHON_BIN} bgp_codec.py
Original file line number Diff line number Diff line change @@ -131,9 +131,9 @@ cd ../cisco-nx-os
131131${PYTHON_BIN} setup.py sdist
132132pip_check_install dist/* .tar.gz
133133
134- print_msg " Running codec sample"
134+ print_msg " Checking ${PYTHON_BIN} environment"
135+ run_cmd ${PIP_BIN} list
136+
137+ print_msg " Running codec sample test"
135138cd ../core/samples
136139${PYTHON_BIN} bgp_codec.py
137-
138- print_msg " Checking ${PYTHON_BIN} environment"
139- run_cmd ${PIP_BIN} list --format=columns
You can’t perform that action at this time.
0 commit comments