mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge #12543: Fix typos
d918eb7864 Fix typos (practicalswift)
Pull request description:
Fix typos.
Tree-SHA512: c790e49be6e01c8d70ebd872ef61cc210c1de15c4a1e5a98280169f32dc8a14cd68f4dd1c23afc76758b28ef355ab12ded2ff7504562dc9b69a11839ad3cd7e3
This commit is contained in:
@@ -754,7 +754,7 @@ BOOST_AUTO_TEST_CASE(test_LockDirectory)
|
||||
thr.join();
|
||||
BOOST_CHECK_EQUAL(threadresult, true);
|
||||
#ifndef WIN32
|
||||
// Try to aquire lock in child process while we're holding it, this should fail.
|
||||
// Try to acquire lock in child process while we're holding it, this should fail.
|
||||
char ch;
|
||||
BOOST_CHECK_EQUAL(write(fd[1], &LockCommand, 1), 1);
|
||||
BOOST_CHECK_EQUAL(read(fd[1], &ch, 1), 1);
|
||||
@@ -765,7 +765,7 @@ BOOST_AUTO_TEST_CASE(test_LockDirectory)
|
||||
// Probing lock from our side now should succeed, but not hold on to the lock.
|
||||
BOOST_CHECK_EQUAL(LockDirectory(dirname, lockname, true), true);
|
||||
|
||||
// Try to acquire the lock in the child process, this should be succesful.
|
||||
// Try to acquire the lock in the child process, this should be successful.
|
||||
BOOST_CHECK_EQUAL(write(fd[1], &LockCommand, 1), 1);
|
||||
BOOST_CHECK_EQUAL(read(fd[1], &ch, 1), 1);
|
||||
BOOST_CHECK_EQUAL((bool)ch, true);
|
||||
|
||||
Reference in New Issue
Block a user