From: Paul Vinciguerra Date: Tue, 17 Dec 2019 22:29:34 +0000 (-0500) Subject: build tests: fail test run if we can't patch scapy X-Git-Tag: v20.05-rc0~134 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=64e9d28d375721c5308da3e8a45a52d88dd0ff40;p=vpp.git build tests: fail test run if we can't patch scapy Type: fix Change-Id: I694e44f449863b3edbbc8b6095e94f770dc20330 Signed-off-by: Paul Vinciguerra --- diff --git a/test/Makefile b/test/Makefile index facdc6e4c14..ef0b27c9572 100644 --- a/test/Makefile +++ b/test/Makefile @@ -145,7 +145,7 @@ $(PIP_PATCH_DONE): $(PIP_INSTALL_DONE) echo Applying patch: $$(basename $$f) ; \ patch --forward -p1 -d $(SCAPY_SOURCE) < $$f ; \ retCode=$$?; \ - [ $$retCode -gt 1 ] && exit $$retCode; \ + [ $$retCode -gt 0 ] && exit $$retCode; \ done; \ touch $@