![]() 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 |
||
---|---|---|
.. | ||
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 | ||
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 | ||
diff-in.dos | ||
diff-in.unix | ||
diff-in.utf8 | ||
diff-in.utf16 | ||
diff-pipes.txt | ||
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 | ||
diff-r-error-8.txt | ||
diff-r.txt | ||
diff-strip-trailing-cr.txt | ||
diff-unified.txt | ||
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 | ||
valid-shell.txt | ||
write-to-stderr.py | ||
write-to-stdout-and-stderr.py |