about summary refs log tree commit diff
path: root/src/test/run-make/error-found-staticlib-instead-crate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make/error-found-staticlib-instead-crate/Makefile')
-rw-r--r--src/test/run-make/error-found-staticlib-instead-crate/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/error-found-staticlib-instead-crate/Makefile b/src/test/run-make/error-found-staticlib-instead-crate/Makefile
index 24ff20ea892..fef12c4da67 100644
--- a/src/test/run-make/error-found-staticlib-instead-crate/Makefile
+++ b/src/test/run-make/error-found-staticlib-instead-crate/Makefile
@@ -2,4 +2,4 @@
 
 all:
 	$(RUSTC) foo.rs --crate-type staticlib
-	$(RUSTC) bar.rs 2>&1 | grep "found staticlib"
+	$(RUSTC) bar.rs 2>&1 | $(CGREP) "found staticlib"