Skip to content

Commit

Permalink
run-make test: using single quotes to not trigger the shell
Browse files Browse the repository at this point in the history
  • Loading branch information
TimNN authored Apr 28, 2023
1 parent 43a7802 commit f1b88ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-make/inaccessible-temp-dir/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1b88ea

Please sign in to comment.