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