[clang] 8eff5e4 - Add '-p' argument to mkdir in test so that it does not give an error if the directory already exists.

Douglas Yung via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 6 14:51:03 PDT 2023


Author: Douglas Yung
Date: 2023-10-06T14:50:22-07:00
New Revision: 8eff5e4b696d2b70e46bcea7a81288a823906f20

URL: https://github.com/llvm/llvm-project/commit/8eff5e4b696d2b70e46bcea7a81288a823906f20
DIFF: https://github.com/llvm/llvm-project/commit/8eff5e4b696d2b70e46bcea7a81288a823906f20.diff

LOG: Add '-p' argument to mkdir in test so that it does not give an error if the directory already exists.

Added: 
    

Modified: 
    clang/test/Frontend/dashE-sysincludes.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Frontend/dashE-sysincludes.cpp b/clang/test/Frontend/dashE-sysincludes.cpp
index db0c488d715775d..45c70670588f199 100644
--- a/clang/test/Frontend/dashE-sysincludes.cpp
+++ b/clang/test/Frontend/dashE-sysincludes.cpp
@@ -1,4 +1,4 @@
-// RUN: mkdir %t.dir
+// RUN: mkdir -p %t.dir
 // RUN: %clang_cc1 -E -fkeep-system-includes -I %S/Inputs/dashE -isystem %S/Inputs/dashE/sys %s | FileCheck %s
 
 int main_1 = 1;


        


More information about the cfe-commits mailing list