about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-04-20 17:33:45 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-04-21 16:14:44 +0000
commit7e214bfc8a550e4dc37c46c236676791ccb1fcc9 (patch)
tree660d7423ad7576e41fdecd1abf7904bdd1d67311
parent9f7e256ae787cb57d214f32775f3844435439f07 (diff)
downloadrust-7e214bfc8a550e4dc37c46c236676791ccb1fcc9.tar.gz
rust-7e214bfc8a550e4dc37c46c236676791ccb1fcc9.zip
Do not rely on exact error code.
-rw-r--r--tests/run-make/const-prop-lint/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/const-prop-lint/Makefile b/tests/run-make/const-prop-lint/Makefile
index a9b4621ccbd..f29f282f787 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