You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
535 B
28 lines
535 B
// Copyright (c) 2011-2017 The Bitcoin Core developers |
|
// Distributed under the MIT software license, see the accompanying |
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php. |
|
|
|
#define BOOST_TEST_MODULE Bitcoin Test Suite |
|
|
|
#include <net.h> |
|
|
|
#include <memory> |
|
|
|
#include <boost/test/unit_test.hpp> |
|
|
|
std::unique_ptr<CConnman> g_connman; |
|
|
|
[[noreturn]] void Shutdown(void* parg) |
|
{ |
|
std::exit(EXIT_SUCCESS); |
|
} |
|
|
|
[[noreturn]] void StartShutdown() |
|
{ |
|
std::exit(EXIT_SUCCESS); |
|
} |
|
|
|
bool ShutdownRequested() |
|
{ |
|
return false; |
|
}
|
|
|