llvm-project/llvm/utils/lit/tests/Inputs/shtest-shell
Joel E. Denny 7c1d536c21 [lit] Extend internal diff to support `-` argument
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:

```
 # RUN: program | diff file -
```

Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` doesn't
recognize `-` as a command-line option.  This patch adds support for
`-` to mean stdin.

Reviewed By: probinson, rnk

Differential Revision: https://reviews.llvm.org/D67643
2019-10-29 15:13:53 -04:00
..
cat-error-0.txt
cat-error-1.txt
cat_nonprinting.bin
check_args.py
check_path.py
colon-error.txt
dev-null.txt
diff-encodings.txt [lit] Extend internal diff to support `-` argument 2019-10-29 15:13:53 -04:00
diff-error-1.txt
diff-error-2.txt
diff-error-3.txt
diff-error-4.txt
diff-error-5.txt
diff-error-6.txt
diff-in.bin [lit] Clean up internal diff's encoding handling 2019-10-16 17:21:24 +00:00
diff-in.dos [lit] Fix internal diff's --strip-trailing-cr and use it 2019-10-16 17:21:57 +00:00
diff-in.unix [lit] Fix internal diff's --strip-trailing-cr and use it 2019-10-16 17:21:57 +00:00
diff-in.utf8 [lit] Clean up internal diff's encoding handling 2019-10-16 17:21:24 +00:00
diff-in.utf16 [lit] Clean up internal diff's encoding handling 2019-10-16 17:21:24 +00:00
diff-pipes.txt [lit] Extend internal diff to support `-` argument 2019-10-29 15:13:53 -04:00
diff-r-error-0.txt
diff-r-error-1.txt
diff-r-error-2.txt
diff-r-error-3.txt
diff-r-error-4.txt
diff-r-error-5.txt
diff-r-error-6.txt
diff-r-error-7.txt [lit] Extend internal diff to support `-` argument 2019-10-29 15:13:53 -04:00
diff-r-error-8.txt [lit] Extend internal diff to support `-` argument 2019-10-29 15:13:53 -04:00
diff-r.txt
diff-strip-trailing-cr.txt [lit] Fix internal diff's --strip-trailing-cr and use it 2019-10-16 17:21:57 +00:00
diff-unified.txt [lit] Make internal diff work in pipelines 2019-10-29 15:13:52 -04:00
error-0.txt
error-1.txt
error-2.txt
lit.cfg
mkdir-error-0.txt
mkdir-error-1.txt
mkdir-error-2.txt
redirects.txt
rm-error-0.txt
rm-error-1.txt
rm-error-2.txt
rm-error-3.txt
rm-unicode-0.txt
sequencing-0.txt
sequencing-1.txt
stdout-encoding.txt [lit] Don't fail when printing test output with special chars 2019-10-25 18:13:13 -04:00
valid-shell.txt
write-to-stderr.py
write-to-stdout-and-stderr.py