mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 16:32:47 +00:00
test: Enable system_tests/run_command "stdin" test on Windows
This commit is contained in:
parent
a4324ce095
commit
97e7e79435
@ -74,7 +74,6 @@ BOOST_AUTO_TEST_CASE(run_command)
|
||||
// Unable to parse JSON
|
||||
BOOST_CHECK_EXCEPTION(RunCommandParseJSON(mock_executable("invalid_json")), std::runtime_error, HasReason("Unable to parse JSON: {"));
|
||||
}
|
||||
#ifndef WIN32
|
||||
{
|
||||
// Test stdin
|
||||
const UniValue result = RunCommandParseJSON(mock_executable("pass_stdin_to_stdout"), "{\"success\": true}");
|
||||
@ -83,7 +82,6 @@ BOOST_AUTO_TEST_CASE(run_command)
|
||||
BOOST_CHECK(!success.isNull());
|
||||
BOOST_CHECK_EQUAL(success.get_bool(), true);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif // ENABLE_EXTERNAL_SIGNER
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user