From 64e9d28d375721c5308da3e8a45a52d88dd0ff40 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 17 Dec 2019 17:29:34 -0500 Subject: [PATCH 1/1] build tests: fail test run if we can't patch scapy Type: fix Change-Id: I694e44f449863b3edbbc8b6095e94f770dc20330 Signed-off-by: Paul Vinciguerra --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@ -- 2.16.6