diff options
Diffstat (limited to 'llvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt')
-rw-r--r-- | llvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt b/llvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt new file mode 100644 index 00000000000..6111a8fbf72 --- /dev/null +++ b/llvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt @@ -0,0 +1,10 @@ +# Check behavior of --strip-trailing-cr. + +# RUN: diff -u diff-in.dos diff-in.unix && false || true +# RUN: diff -u diff-in.unix diff-in.dos && false || true + +# RUN: diff -u --strip-trailing-cr diff-in.dos diff-in.unix && false || true +# RUN: diff -u --strip-trailing-cr diff-in.unix diff-in.dos && false || true + +# Fail so lit will print output. +# RUN: false |