summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/absolute-paths-symlinks.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/absolute-paths-symlinks.c')
-rw-r--r--clang/test/Frontend/absolute-paths-symlinks.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/clang/test/Frontend/absolute-paths-symlinks.c b/clang/test/Frontend/absolute-paths-symlinks.c
index e91a96fc092..8170910b6f6 100644
--- a/clang/test/Frontend/absolute-paths-symlinks.c
+++ b/clang/test/Frontend/absolute-paths-symlinks.c
@@ -1,9 +1,9 @@
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: cd %t
-// RUN: cp "%s" "test.c"
-// RUN: ln -sf "test.c" "link.c"
-// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-absolute-paths "link.c" 2>&1|FileCheck %s
+// RUN: cp %s test.c
+// RUN: ln -sf test.c link.c
+// RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-absolute-paths link.c 2>&1 | FileCheck %s
// Verify that -fdiagnostics-absolute-paths resolve symbolic links in
// diagnostics messages.
@@ -13,3 +13,5 @@
This do not compile
// REQUIRES: shell
+// Don't make symlinks on Windows.
+// UNSUPPORTED: system-windows
OpenPOWER on IntegriCloud