[lit] [tests] Add missing test input file.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 29 Aug 2013 03:02:34 +0000 (03:02 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 29 Aug 2013 03:02:34 +0000 (03:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189561 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/tests/Inputs/shtest-format/argv0.txt [new file with mode: 0644]

diff --git a/utils/lit/tests/Inputs/shtest-format/argv0.txt b/utils/lit/tests/Inputs/shtest-format/argv0.txt
new file mode 100644 (file)
index 0000000..2ff2890
--- /dev/null
@@ -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" ]