aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-02-22 11:48:35 +0100
committerWladimir J. van der Laan <[email protected]>2017-02-22 11:48:45 +0100
commit92dd6c8dfdd6417d2e7c0ca9846b5c0dca50f5d8 (patch)
tree8313ba54e12e39876ba87205635fa39fe07f1a34 /src/test
parentMerge #9807: RPC doc fix-ups. (diff)
parentuse EXIT_ codes instead of magic numbers (diff)
downloaddiscoin-92dd6c8dfdd6417d2e7c0ca9846b5c0dca50f5d8.tar.xz
discoin-92dd6c8dfdd6417d2e7c0ca9846b5c0dca50f5d8.zip
Merge #9815: Trivial: use EXIT_ codes instead of magic numbers
a87d02a use EXIT_ codes instead of magic numbers (Marko Bencun)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_bitcoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 4785415e3..51fc6ae0b 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -156,12 +156,12 @@ CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(const CTransaction &txn, CTxMemPo
void Shutdown(void* parg)
{
- exit(0);
+ exit(EXIT_SUCCESS);
}
void StartShutdown()
{
- exit(0);
+ exit(EXIT_SUCCESS);
}
bool ShutdownRequested()