Skip to content

Commit

Permalink
[clang][test] Minor fixes in testcase absolute-paths-symlinks.c
Browse files Browse the repository at this point in the history
This is a follow up commit to address post-commit comment in D70527.
  • Loading branch information
ka-ka committed Dec 26, 2019
1 parent d2a8e14 commit 073cdb2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions 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.
Expand All @@ -13,3 +13,5 @@
This do not compile

// REQUIRES: shell
// Don't make symlinks on Windows.
// UNSUPPORTED: system-windows

0 comments on commit 073cdb2

Please sign in to comment.