| 1 |
# Check that we route argv[0] as it was written, instead of the resolved |
| 2 |
# path. This is important for some tools, in particular '[' which at least on OS |
| 3 |
# X only recognizes that it is in '['-mode when its argv[0] is exactly |
| 4 |
# '['. Otherwise it will refuse to accept the trailing closing bracket. |
| 5 |
# |
| 6 |
# This test is not supported on AIX since `[` is only available as a shell builtin |
| 7 |
# and is not installed under PATH by default. |
| 8 |
# UNSUPPORTED: system-aix |
| 9 |
# |
| 10 |
# RUN: %{lit} -v %{inputs}/shtest-format-argv0 | FileCheck %s |
| 11 |
|
| 12 |
# CHECK: -- Testing: |
| 13 |
# CHECK: PASS: shtest-format-argv0 :: argv0.txt |