From f1b88eab50b3853cb649cddd40448f13f27aa6a3 Mon Sep 17 00:00:00 2001 From: Tim Neumann Date: Fri, 28 Apr 2023 16:11:45 +0200 Subject: [PATCH] run-make test: using single quotes to not trigger the shell --- tests/run-make/inaccessible-temp-dir/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-make/inaccessible-temp-dir/Makefile b/tests/run-make/inaccessible-temp-dir/Makefile index 25b7b87a15ab7..abdba4eb86145 100644 --- a/tests/run-make/inaccessible-temp-dir/Makefile +++ b/tests/run-make/inaccessible-temp-dir/Makefile @@ -25,7 +25,7 @@ all: # Run rustc with `-Ztemps-dir` set to a directory # *inside* the inaccessible one, so that it can't create it $(RUSTC) program.rs -Ztemps-dir=$(TMPDIR)/inaccessible/tmp 2>&1 \ - | $(CGREP) "failed to find or create the directory specified by `--temps-dir`" + | $(CGREP) 'failed to find or create the directory specified by `--temps-dir`' # Make the inaccessible directory accessible, # so that compiletest can delete the temp dir