Skip to content

Commit

Permalink
automated: linux: fix network-basic exit code
Browse files Browse the repository at this point in the history
When last test in network-basic fails (download-a-file) the whole set of
tests is lost because LAVA receives exit code 1 and ignores the whole
network-basic suite. This patch adds "exit 0" to the end of the test
script to avoid this issue.

Signed-off-by: Milosz Wasilewski <[email protected]>
  • Loading branch information
mwasilew authored and roxell committed Oct 12, 2023
1 parent a6247b6 commit e00572e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions automated/linux/network-basic/network-basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ run "${DHCLIENT} ${INTERFACE}" "Dynamic-Host-Configuration-Protocol-Client-dhcli
run "route" "print-routing-tables-after-dhclient-request"
run "ping -c 5 ${GATEWAY}" "ping-gateway"
run "${CURL} ${OUTPUT}/curl_big_video.avi http://samplemedia.linaro.org/MPEG4/big_buck_bunny_480p_MPEG4_MP3_25fps_1600K_short.AVI" "download-a-file"

# exit with return code 0 to help LAVA parse results
exit 0

0 comments on commit e00572e

Please sign in to comment.