From 95867b10741a3c4425e0da2942886b5693ee91bf Mon Sep 17 00:00:00 2001 From: "Yi Zhang (CLR)" Date: Wed, 19 Apr 2017 08:37:44 -0700 Subject: [PATCH] Stop treating test files as executable and fix encoding (dotnet/coreclr#11065) * change encoding to UTF-8 * change line ending to UNIX * remove executable attribute Commit migrated from https://github.com/dotnet/coreclr/commit/e8414af792d6a2082d0cb1c5133344e9af0f2982 --- .../Interop/StringMarshalling/LPSTR/CMakeLists.txt | 2 +- .../src/Interop/StringMarshalling/LPSTR/LPSTRTest.cs | Bin 17120 -> 8341 bytes .../Interop/StringMarshalling/LPSTR/LPSTRTest.csproj | 2 +- .../StringMarshalling/LPSTR/LPSTRTestNative.cpp | 0 .../Interop/StringMarshalling/LPSTR/PinvokeDef.cs | 2 +- .../Interop/StringMarshalling/LPTSTR/CMakeLists.txt | 0 .../Interop/StringMarshalling/LPTSTR/LPTSTRTest.cs | Bin .../StringMarshalling/LPTSTR/LPTSTRTestNative.cpp | 0 .../StringMarshalling/LPTSTR/LPTSTRTestPInvokeDef.cs | 0 9 files changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.cs mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.csproj mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTestNative.cpp mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/PinvokeDef.cs mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/CMakeLists.txt mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTest.cs mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp mode change 100755 => 100644 src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestPInvokeDef.cs diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt old mode 100755 new mode 100644 index aa3fd76..3d30d82 --- a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt @@ -7,4 +7,4 @@ add_library (LPSTRTestNative SHARED ${SOURCES}) target_link_libraries(LPSTRTestNative ${LINK_LIBRARIES_ADDITIONAL}) # add the install targets -install (TARGETS LPSTRTestNative DESTINATION bin) \ No newline at end of file +install (TARGETS LPSTRTestNative DESTINATION bin) diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.cs b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.cs old mode 100755 new mode 100644 index f704791cfd8776486e52b90d7b116e0ccf220264..12cff704388e66e2ac40fc948d73c167de0f3e03 GIT binary patch literal 8341 zcmcgx+in{-5Phz`f{~F#Mhso7_>u;Gh-0TU5T}OaA`fv8thJQ9&1zTW?%D|gKlP;_ z*8W$|@UlC5Q6MRH9Uzv-A$exb;c!Uzdg5&`mQf;ok;WpumZJOa_(Hsiv&i?-AdUn+ zNG0M(idczRtfcU!O3Imx(xlt!^~6QPpwLX3V8$R3lOU8d{nt3N)6qhwCl|un>3K#H zMreO~^7{DQ=-7-3BHcDu@gH)W3Khqxm^dIogpV@~v)gKANf1rN=xdV7S@%4P(qJaL zCs8U@JReDQ14zlsl2!Rz_gqdwECQ!19T)OT>YCnRxf^*TCzz`>4!tB17cxm(-&!q! zpA99a6t(ub1m;w{@q#c@vaLIl6obbih~NX-6LBE=FGa7XgctLcal_5Xp&8B_D%m!U|+{k5{I(; zUInRq8$`0x76%6h8uZU?@eCtg=Eh28f|>SQ(oyWBuPAR5sQr2aEq|-pjO+eL|ArFK@>VB_* z*er9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O04#zbH%UadgL`SI9d0jLPlZ ztyIqTl?i6M$|@KAx;GM(6pfW68e#lNHpF93u2I&sd!PPoY z#9Je8T!x=v4d!Zn^-Le&Dhueb8XKfg zcXQx+vOyK>r^5u}d{Bi2)}t)2ll3CFPl@-#v>IB^IH62OO!CyP1aqGAzxR8wsf-@4 zr>yI$Wf`^+nc)*s(LJ|XHHu*!=b3fzOzeqayk6FRV|>i@$cz|Lv*4r@vg#vcC_PqV zs+9DU-&_W}o!*-ctEF%*_F^pmQWej}7joSOo|jN|`M$ZZhRE;Eu9@=QwdRN(<6O3Ji@B`I`Ys-sRHrqCYARx?@mNaw?cuR1o|_Jbr7$k`V2s1Y zz12#daNlaxeAOeLnH9aI$|poi0h5gz(-?WXjLa5)GLy16=aV>py}}#2u5D%Bx1}Yl zBjs(->DNZpbu6xmd=|-{$?2O{{GS89*?R~JQ@9Ej#3Cu?)v&`PnZuaSCvjTOmmfVY zI^uJt?3qlQ#OG{SJFicil;N%E#)!V_(L;>6@7XJx=rLp^i4Kn8^XqYM+p82A6~4FV zzC+JQ)Tcy#Bo>Wo1aJFu9= zNM25V)r?1Y+z+#06e5(uv>KBk;f#r<#1GBy-v ieGd}z|JweN-IUg=dMsNd`x-E6`G5MZhlM9ToBsf5O9`w1 diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.csproj b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.csproj old mode 100755 new mode 100644 index 88a0330..d78ecb1 --- a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.csproj +++ b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.csproj @@ -39,4 +39,4 @@ - \ No newline at end of file + diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTestNative.cpp b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/LPSTRTestNative.cpp old mode 100755 new mode 100644 diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/PinvokeDef.cs b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/PinvokeDef.cs old mode 100755 new mode 100644 index ce8455f..31d0eba --- a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/PinvokeDef.cs +++ b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/PinvokeDef.cs @@ -70,4 +70,4 @@ namespace NativeDefs [DllImport(NativeBinaryName)] public static extern bool ReverseP_MarshalStrB_Out(Del_MarshalStrB_Out d); } -} \ No newline at end of file +} diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/CMakeLists.txt b/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTest.cs b/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTest.cs old mode 100755 new mode 100644 diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp b/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp old mode 100755 new mode 100644 diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestPInvokeDef.cs b/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestPInvokeDef.cs old mode 100755 new mode 100644 -- 2.7.4