summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/shtest-output-printing.py
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/lit/tests/shtest-output-printing.py')
-rw-r--r--llvm/utils/lit/tests/shtest-output-printing.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/utils/lit/tests/shtest-output-printing.py b/llvm/utils/lit/tests/shtest-output-printing.py
index 1d5fc04ab81..24580b37f1f 100644
--- a/llvm/utils/lit/tests/shtest-output-printing.py
+++ b/llvm/utils/lit/tests/shtest-output-printing.py
@@ -1,7 +1,7 @@
# Check the various features of the ShTest format.
#
# RUN: not %{lit} -j 1 -v %{inputs}/shtest-output-printing > %t.out
-# RUN: FileCheck < %t.out %s
+# RUN: FileCheck --input-file %t.out %s
#
# END.
@@ -21,6 +21,8 @@
# CHECK-NEXT: # command output:
# CHECK-NEXT: hi
#
-# CHECK: $ "false"
-# CHECK-NEXT: note: command had no output on stdout or stderr
+# CHECK: $ "wc" "missing-file"
+# CHECK-NEXT: # redirected output from '{{.*}}/basic.txt.tmp.out':
+# CHECK-NEXT: missing-file{{.*}} No such file or directory
+# CHECK: note: command had no output on stdout or stderr
# CHECK-NEXT: error: command failed with exit status: 1
OpenPOWER on IntegriCloud