build tests: fail test run if we can't patch scapy 39/24039/5
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Tue, 17 Dec 2019 22:29:34 +0000 (17:29 -0500)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 18 Dec 2019 23:10:19 +0000 (23:10 +0000)
Type: fix

Change-Id: I694e44f449863b3edbbc8b6095e94f770dc20330
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
test/Makefile

index facdc6e..ef0b27c 100644 (file)
@@ -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 $@