[clang][deps] Attempt to fix Windows test failure
authorJan Svoboda <jan_svoboda@apple.com>
Sat, 12 Mar 2022 11:09:10 +0000 (12:09 +0100)
committerJan Svoboda <jan_svoboda@apple.com>
Sat, 12 Mar 2022 11:09:22 +0000 (12:09 +0100)
clang/test/ClangScanDeps/modules-no-undeclared-includes.c

index 005c279..72f3922 100644 (file)
@@ -27,7 +27,7 @@ module User [no_undeclared_includes] { header "user.h" }
 // RUN: sed "s|DIR|%/t|g" %t/cdb.json.template > %t/cdb.json
 // RUN: clang-scan-deps -compilation-database %t/cdb.json -format experimental-full \
 // RUN:   -generate-modules-path-args -module-files-dir %t/build > %t/result.json
-// RUN: cat %t/result.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%t
+// RUN: cat %t/result.json | sed 's:\\\\\?:/:g' | FileCheck %s -DPREFIX=%/t
 
 // CHECK:        {
 // CHECK-NEXT:   "modules": [