We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b5795 commit 507c009Copy full SHA for 507c009
src/test/system_tests.cpp
@@ -58,10 +58,8 @@ BOOST_AUTO_TEST_CASE(run_command)
58
}
59
{
60
#ifdef WIN32
61
- // Windows requires single quotes to prevent escaping double quotes from the JSON...
62
- const UniValue result = RunCommandParseJSON("echo '{\"success\": true}'");
+ const UniValue result = RunCommandParseJSON("cmd.exe /c echo {\"success\": true}");
63
#else
64
- // ... but Linux and macOS echo a single quote if it's used
65
const UniValue result = RunCommandParseJSON("echo \"{\"success\": true}\"");
66
#endif
67
BOOST_CHECK(result.isObject());
0 commit comments