Fix unittest `LPSTRTest` (#11096)
authorHanjoung Lee <waterets@gmail.com>
Thu, 27 Apr 2017 16:39:47 +0000 (01:39 +0900)
committerYi Zhang (CLR) <yizhang82@users.noreply.github.com>
Thu, 27 Apr 2017 16:39:47 +0000 (09:39 -0700)
commit8291db8bdb49768a7620a98865ad642d639c9c87
treea6a1d446bfe588bcc30fea832c0684671e7444b8
parent40e18d32b9f1119aecef9afe8978692c1d08ab43
Fix unittest `LPSTRTest` (#11096)

* Fix unittest `LPSTRTest`

The test case Interop.StringMarshalling.LPSTR.LPSTRTest
always returned exit code 100(pass) even if it actually failed.
This implements `ExitTest()` in the same manner with `LPTSTRTest`.

* Fix unittest `LPSTRTest` native
tests/src/Interop/StringMarshalling/LPSTR/LPSTRTest.cs
tests/src/Interop/StringMarshalling/LPSTR/LPSTRTestNative.cpp