summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/testcase/tstRTBase64.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2009-06-15 23:49:07 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2009-06-15 23:49:07 +0000
commit879dea4d9b87432df6cab043276ab57b9404dd36 (patch)
tree486696b56b57edb628b91d5835a91067671ea632 /src/VBox/Runtime/testcase/tstRTBase64.cpp
parent8f484511b84e088e1c3ef125f6493e891f0b3b3d (diff)
downloadVirtualBox-svn-879dea4d9b87432df6cab043276ab57b9404dd36.tar.gz
IPRT/testcase: Use RTTestInitAndCreate.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@20606 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Runtime/testcase/tstRTBase64.cpp')
-rw-r--r--src/VBox/Runtime/testcase/tstRTBase64.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/VBox/Runtime/testcase/tstRTBase64.cpp b/src/VBox/Runtime/testcase/tstRTBase64.cpp
index 22f9c486b75..693dc6141b5 100644
--- a/src/VBox/Runtime/testcase/tstRTBase64.cpp
+++ b/src/VBox/Runtime/testcase/tstRTBase64.cpp
@@ -110,13 +110,10 @@ static void tstBase64(const void *pvData, size_t cbData,
int main()
{
- int rc = RTR3Init();
- if (RT_FAILURE(rc))
- return 1;
RTTEST hTest;
- rc = RTTestCreate("tstRTBase64", &hTest);
- if (RT_FAILURE(rc))
- return 1;
+ int rc = RTTestInitAndCreate("tstRTBase64", &hTest);
+ if (rc)
+ return rc;
RTTestBanner(hTest);
/*