Author: Aiden Grossman
Date: 2025-10-20T03:09:39Z
New Revision: 04fc1aee564373e72048333a789c7b277e68f25a

URL: 
https://github.com/llvm/llvm-project/commit/04fc1aee564373e72048333a789c7b277e68f25a
DIFF: 
https://github.com/llvm/llvm-project/commit/04fc1aee564373e72048333a789c7b277e68f25a.diff

LOG: [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.

Added: 
    

Modified: 
    clang/test/Modules/crash-vfs-relative-incdir.m
    clang/test/Modules/crash-vfs-run-reproducer.m

Removed: 
    


################################################################################
diff  --git a/clang/test/Modules/crash-vfs-relative-incdir.m 
b/clang/test/Modules/crash-vfs-relative-incdir.m
index c0407f776778b..46c3413c7817f 100644
--- a/clang/test/Modules/crash-vfs-relative-incdir.m
+++ b/clang/test/Modules/crash-vfs-relative-incdir.m
@@ -53,4 +53,4 @@
 
 // RUN: cd %t
 // RUN: chmod 755 crash-vfs-*.sh
-// RUN: ./crash-vfs-*.sh
+// RUN: bash ./crash-vfs-*.sh

diff  --git a/clang/test/Modules/crash-vfs-run-reproducer.m 
b/clang/test/Modules/crash-vfs-run-reproducer.m
index fd861fed5a603..fa06fd988c98f 100644
--- a/clang/test/Modules/crash-vfs-run-reproducer.m
+++ b/clang/test/Modules/crash-vfs-run-reproducer.m
@@ -53,4 +53,4 @@
 
 // RUN: cd %t
 // RUN: chmod 755 crash-vfs-*.sh
-// RUN: ./crash-vfs-*.sh
+// RUN: bash ./crash-vfs-*.sh


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to