Skip to content

Commit 697d538

Browse files
boomanaiden154Lukacma
authored andcommitted
[Clang] Explicitly invoke bash to run shell scripts
Otherwise these tests run into an exec format error when attempting to run them with the internal shell. This is similar to other patches that have done the same for similar tests.
1 parent c1af6aa commit 697d538

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/Modules/crash-vfs-relative-incdir.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@
5353

5454
// RUN: cd %t
5555
// RUN: chmod 755 crash-vfs-*.sh
56-
// RUN: ./crash-vfs-*.sh
56+
// RUN: bash ./crash-vfs-*.sh

clang/test/Modules/crash-vfs-run-reproducer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@
5353

5454
// RUN: cd %t
5555
// RUN: chmod 755 crash-vfs-*.sh
56-
// RUN: ./crash-vfs-*.sh
56+
// RUN: bash ./crash-vfs-*.sh

0 commit comments

Comments
 (0)