{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1753775594,"commit_time":1753835893,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"00887aee8ca0efe0b40fa41b2a36e2d853d49b57","message":"tests: merge clients into libtests, drop duplicate code\n\nlibtests and clients were built the same way after recent overhauls.\nlibtests are used by runtests, clients by pytests.\n\nMerge clients into libtests, aligning their entry function signature,\ndropping common utility functions, and simplifying the build.\n\nNote: After this patch `CURLDEBUG` applies to cli tests, when enabled.\n\nAlso:\n- lib552: drop local copy-paste debug callback in favor of testtrace.\n- lib552: drop local copy-paste dump function in favor of testtrace.\n- clients: use `long` for HTTP version, drop casts.\n- clients: replace local dump function in favor of testrace clone.\n- sync cli test entry function prototype with libtests'.\n- h2_serverpush: replace local trace callback with testtrace.\n- de-duplicate 3 websocket close, ping, ping, functions. Kept the pong\n  iteration from `ws_pingpong`. Note: the pong clone in `lib2304` was\n  returning an error when `curl_ws_recv()` returned non-zero and\n  the payload matched the expected one anyway. After this patch, this\n  case returns success, as it does in `ws_pingpong`.\n  `lib2304` keeps passing, but I'm not sure if the previous behavior\n  was intentional.\n- display full value in websocket close, ping, pong, drop casts.\n\nCloses #18079\n","parents":["952c929bdf70645ee263c45a19518ae976a0292d"],"tree_hash":"3e8e8127a9f8e88d5647f2fcb54ba9ccb1262288"}