summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt')
-rw-r--r--llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt b/llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
index a6a7eef3f9b..e977c193247 100644
--- a/llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
+++ b/llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
@@ -30,5 +30,9 @@
# RUN: diff -U4 %t.foo %t.bar && false || true
# RUN: diff -U0 %t.foo %t.bar && false || true
+# Check bad -U argument.
+# RUN: diff -U 30.1 %t.foo %t.foo && false || true
+# RUN: diff -U-1 %t.foo %t.foo && false || true
+
# Fail so lit will print output.
# RUN: false
OpenPOWER on IntegriCloud