directories if possible and to not require %t to have "Output" in the name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@336630
91177308-0d34-0410-b5e6-
96231b3b80d8
// RUN: rm -rf %t
// RUN: mkdir -p %t
-// RUN: not %clang -fcrash-diagnostics-dir=%t -c %s 2>&1 | FileCheck %s
+// RUN: not %clang -fcrash-diagnostics-dir=%t -c %s -o - 2>&1 | FileCheck %s
#pragma clang __debug parser_crash
// CHECK: Preprocessed source(s) and associated run script(s) are located at:
-// CHECK: diagnostic msg: {{.*}}Output{{/|\\}}crash-diagnostics-dir.c.tmp{{(/|\\).*}}.c
+// CHECK: diagnostic msg: {{.*}}{{/|\\}}crash-diagnostics-dir.c.tmp{{(/|\\).*}}.c