aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/host_name/host_name_test.cpp
blob: de05fe8556ff380c4845e495bd2e9c8066a2af04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/vespalib/util/host_name.h>

using namespace vespalib;

TEST("require that host name can be obtained") {
    EXPECT_NOT_EQUAL("", HostName::get());
}

TEST_MAIN() { TEST_RUN_ALL(); }