Index: third_party/lit/tests/Inputs/shtest-format/argv0.txt |
diff --git a/third_party/lit/tests/Inputs/shtest-format/argv0.txt b/third_party/lit/tests/Inputs/shtest-format/argv0.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2ff289014bc09f124d159f0acfa829a87373ff27 |
--- /dev/null |
+++ b/third_party/lit/tests/Inputs/shtest-format/argv0.txt |
@@ -0,0 +1,6 @@ |
+# Check that we route argv[0] as it was written, instead of the resolved |
+# path. This is important for some tools, in particular '[' which at least on OS |
+# X only recognizes that it is in '['-mode when its argv[0] is exactly |
+# '['. Otherwise it will refuse to accept the trailing closing bracket. |
+# |
+# RUN: [ "A" = "A" ] |