summaryrefslogtreecommitdiffstats
path: root/tests/Network
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-06-17 13:44:16 +0200
committerMattes D <github@xoft.cz>2016-06-18 13:12:11 +0200
commit4d9769a4840791659e1588b3afa2ef396c181b37 (patch)
tree4a6be4b998ddcf236688224521be8036b76fed44 /tests/Network
parentFlush immediately after each line when running tests. (diff)
downloadcuberite-4d9769a4840791659e1588b3afa2ef396c181b37.tar
cuberite-4d9769a4840791659e1588b3afa2ef396c181b37.tar.gz
cuberite-4d9769a4840791659e1588b3afa2ef396c181b37.tar.bz2
cuberite-4d9769a4840791659e1588b3afa2ef396c181b37.tar.lz
cuberite-4d9769a4840791659e1588b3afa2ef396c181b37.tar.xz
cuberite-4d9769a4840791659e1588b3afa2ef396c181b37.tar.zst
cuberite-4d9769a4840791659e1588b3afa2ef396c181b37.zip
Diffstat (limited to '')
-rw-r--r--tests/Network/EnumInterfaces.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Network/EnumInterfaces.cpp b/tests/Network/EnumInterfaces.cpp
index e4c6be219..0b716acff 100644
--- a/tests/Network/EnumInterfaces.cpp
+++ b/tests/Network/EnumInterfaces.cpp
@@ -23,13 +23,14 @@ int main(int argc, char * argv[])
auto IPs = cNetwork::EnumLocalIPAddresses();
for (auto & ip: IPs)
{
- printf(" %s\n", ip.c_str());
+ LOGD(" %s", ip.c_str());
}
- printf("Done.\n");
+ LOGD("All addresses enumerated.");
// Terminate the cNetwork subsystem:
cNetworkSingleton::Get().Terminate();
+ LOGD("Test finished.");
return 0;
}