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