From 073cdb239044dc056a3c79b995265f640ffb40e6 Mon Sep 17 00:00:00 2001 From: Karl-Johan Karlsson Date: Thu, 26 Dec 2019 09:30:08 +0100 Subject: [PATCH] [clang][test] Minor fixes in testcase absolute-paths-symlinks.c This is a follow up commit to address post-commit comment in D70527. --- clang/test/Frontend/absolute-paths-symlinks.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/clang/test/Frontend/absolute-paths-symlinks.c b/clang/test/Frontend/absolute-paths-symlinks.c index e91a96fc09229..8170910b6f6ec 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