Skip to content

Commit

Permalink
[libc++] Remove test that is irrelevant since f1a96de
Browse files Browse the repository at this point in the history
We don't want to give the impression that we allow running arbitrary
shell commands under %{exec}, which isn't the case.
  • Loading branch information
ldionne committed Nov 4, 2020
1 parent f1a96de commit bbd1506
Showing 1 changed file with 1 addition and 7 deletions.
Expand Up @@ -6,13 +6,7 @@
//
//===----------------------------------------------------------------------===//

// Make sure that arguments of the %{exec} substitution are shell-escaped
// properly. If that wasn't the case, the command would fail because the
// shell would look for a matching `"`.

// RUN: %{exec} echo '"'

// Also make sure that we don't escape Shell builtins like `!`, because the
// Make sure that we don't escape Shell builtins like `!`, because the
// shell otherwise thinks it's a command and it can't find it.

// RUN: ! false

0 comments on commit bbd1506

Please sign in to comment.