Skip to content

Commit fd84245

Browse files
[Clang] Use env to set variable in config-file3.c
There was an earlier patch that was supposed to fix this up that apparently did not get to everything. After this patch, the test passes inside the internal shell.
1 parent 257f38f commit fd84245

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
@@ -230,7 +230,7 @@
230230

231231
//--- Tilde expansion in user configuration file directory
232232
//
233-
// RUN: HOME=%S/Inputs/config %clang -### --config-user-dir=~ -v 2>&1 | FileCheck %s --check-prefix=CHECK-TILDE
233+
// RUN: env HOME=%S/Inputs/config %clang -### --config-user-dir=~ -v 2>&1 | FileCheck %s --check-prefix=CHECK-TILDE
234234
// CHECK-TILDE: User configuration file directory: {{.*}}/Inputs/config
235235

236236
//--- Fallback to stripping OS versions

0 commit comments

Comments
 (0)