mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-06 22:29:23 +00:00
Parse multicall commands once per call
Keep the change to d, f, p and t multicalls. Parse each column lazily on first use and evaluate it through rpc::call_object, preserving per-target argument expansion. Compared unpatched and patched builds on macOS: output was byte-identical across the test harness, including an erase-mid-call check.
This commit is contained in:
@@ -5,10 +5,14 @@ class TestCommand : public test_fixture {
|
||||
|
||||
CPPUNIT_TEST(test_stack);
|
||||
CPPUNIT_TEST(test_stack_double);
|
||||
CPPUNIT_TEST(test_preparsed_commands);
|
||||
CPPUNIT_TEST(test_parse_command_object);
|
||||
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
public:
|
||||
void test_stack();
|
||||
void test_stack_double();
|
||||
void test_preparsed_commands();
|
||||
void test_parse_command_object();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user