Relax a FileCheck pattern to make it pass on Windows.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 7 May 2018 21:40:53 +0000 (21:40 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 7 May 2018 21:40:53 +0000 (21:40 +0000)
Should fix Windows bot failure:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/16956

llvm-svn: 331681

clang/test/Driver/fsanitize-blacklist.c

index 609b1f0..927d2ed 100644 (file)
@@ -64,6 +64,6 @@
 
 // If cfi_blacklist.txt cannot be found in the resource dir, driver should fail.
 // RUN: %clang -target x86_64-linux-gnu -fsanitize=cfi -resource-dir=/dev/null %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-MISSING-CFI-BLACKLIST
-// CHECK-MISSING-CFI-BLACKLIST: error: no such file or directory: '{{.*}}/share/cfi_blacklist.txt'
+// CHECK-MISSING-CFI-BLACKLIST: error: no such file or directory: '{{.*}}cfi_blacklist.txt'
 
 // DELIMITERS: {{^ *"}}