From 7e214bfc8a550e4dc37c46c236676791ccb1fcc9 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Thu, 20 Apr 2023 17:33:45 +0000 Subject: [PATCH] Do not rely on exact error code. --- tests/run-make/const-prop-lint/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-make/const-prop-lint/Makefile b/tests/run-make/const-prop-lint/Makefile index a9b4621ccbdcb..f29f282f78764 100644 --- a/tests/run-make/const-prop-lint/Makefile +++ b/tests/run-make/const-prop-lint/Makefile @@ -6,4 +6,4 @@ include ../tools.mk all: $(RUSTC) input.rs; test $$? -eq 1 - ls *.o; test $$? -eq 2 + ls *.o; test $$? -ne 0