about summary refs log tree commit diff
path: root/tests/run-make/inaccessible-temp-dir
diff options
context:
space:
mode:
authorTim Neumann <timnn@google.com>2023-04-28 16:11:45 +0200
committerGitHub <noreply@github.com>2023-04-28 16:11:45 +0200
commitf1b88eab50b3853cb649cddd40448f13f27aa6a3 (patch)
treeabc89a4814a38d0206f746c39d06d878e14a47cf /tests/run-make/inaccessible-temp-dir
parent43a78029b4f4d92978b8fde0a677ea300b113c41 (diff)
downloadrust-f1b88eab50b3853cb649cddd40448f13f27aa6a3.tar.gz
rust-f1b88eab50b3853cb649cddd40448f13f27aa6a3.zip
run-make test: using single quotes to not trigger the shell
Diffstat (limited to 'tests/run-make/inaccessible-temp-dir')
-rw-r--r--tests/run-make/inaccessible-temp-dir/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/inaccessible-temp-dir/Makefile b/tests/run-make/inaccessible-temp-dir/Makefile
index 25b7b87a15a..abdba4eb861 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