Message ID | 20170427142643.6616-2-maxim.uvarov@linaro.org |
---|---|
State | Accepted |
Commit | b33b8ed7ca7c0f66f9c63155dd7e59ecaf7ea75e |
Headers | show |
Series | [PATCHv2,1/2] test: tm: add paths to find tm binary | expand |
diff --git a/test/linux-generic/validation/api/pktio/pktio_run.sh b/test/linux-generic/validation/api/pktio/pktio_run.sh index e8b0f936..19def8c5 100755 --- a/test/linux-generic/validation/api/pktio/pktio_run.sh +++ b/test/linux-generic/validation/api/pktio/pktio_run.sh @@ -31,6 +31,7 @@ if [ -x "$pktio_main_path" ] ; then echo "running with pktio_main: $pktio_run_path" else echo "cannot find pktio_main: please set you PATH for it." + exit 1 fi # directory where platform test sources are, including scripts
No need to continue run if binary was not found in paths. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- test/linux-generic/validation/api/pktio/pktio_run.sh | 1 + 1 file changed, 1 insertion(+) -- 2.11.0.295.gd7dffce