aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Frontend/dependency-gen.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/Frontend/dependency-gen.c b/test/Frontend/dependency-gen.c
index c008321e5e..bad8493829 100644
--- a/test/Frontend/dependency-gen.c
+++ b/test/Frontend/dependency-gen.c
@@ -10,8 +10,9 @@
// PR8974
// XFAIL: win32
// RUN: rm -rf %t.dir
-// RUN: mkdir %t.dir
-// RUN: echo > %t.dir/x.h
-// RUN: %clang -include %t.dir/x.h -MD -MF %t.d -S -x c -o %t.o %s
-// RUN: grep ' %t.dir/x.h' %t.d
+// RUN: mkdir -p %t.dir/a/b
+// RUN: echo > %t.dir/a/b/x.h
+// RUN: cd %t.dir
+// RUN: %clang -include a/b/x.h -MD -MF %t.d -S -x c -o %t.o %s
+// RUN: grep ' a/b/x\.h' %t.d