Skip to content

Commit 37216b4

Browse files
committed
[test] Add missing -### to Driver/config-file3.c
Otherwise clang may invoke ld. If ld is a shell script using `~`, the command will fail since `HOME` is changed.
1 parent fb166b4 commit 37216b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/config-file3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,5 +224,5 @@
224224

225225
//--- Tilde expansion in user configuration file directory
226226
//
227-
// RUN: HOME=%S/Inputs/config %clang --config-user-dir=~ -v 2>&1 | FileCheck %s -check-prefix CHECK-TILDE
227+
// RUN: HOME=%S/Inputs/config %clang -### --config-user-dir=~ -v 2>&1 | FileCheck %s --check-prefix=CHECK-TILDE
228228
// CHECK-TILDE: User configuration file directory: {{.*}}/Inputs/config

0 commit comments

Comments
 (0)