Commit Graph

883 Commits

Author SHA1 Message Date
Roger Light
3ddfdc3a24 Windows: Fix slow tests 2025-12-08 18:51:24 +00:00
Roger Light
f51e30f078 Windows: Test fixes for lib 2025-12-08 18:46:31 +00:00
Roger Light
5a11642f07 Tests: Add paths to libraries on Windows 2025-12-08 18:46:31 +00:00
Roger Light
a66de32903 Tests: Refactor plugin path config creation for cross platform ease 2025-12-08 18:46:31 +00:00
Roger Light
a4ec92b495 Test: Various fixes for Windows 2025-12-08 18:46:31 +00:00
Roger Light
3ae06bfaf1 Test: Cross platform broker terminate/reload 2025-12-08 18:46:29 +00:00
Roger Light
02b7ff9243 Test: Always use log file to capture stderr in python tests
This avoids the problem that subprocess.PIPE is limited in size on Windows and cannot be extended
2025-12-08 18:46:06 +00:00
Roger Light
3672c58052 Windows: Get build type from cmake 2025-12-08 18:45:43 +00:00
Roger Light
df3c437b5a Test: Don't hide socket errors when reading 2025-12-08 18:45:43 +00:00
Roger Light
5c6c9a8f0a Windows: Config files for client tests 2025-12-08 18:45:43 +00:00
Roger Light
67eb4ab349 Clients: Fix session-expiry-interval error parsing 2025-12-08 18:45:43 +00:00
Roger Light
c26a96b5b5 Windows: Fix client tests 2025-12-08 18:45:43 +00:00
Roger Light
5703da7477 Test: Make client path cross platform 2025-12-08 18:45:43 +00:00
Roger Light
46d3f0ce65 Test: Refactor client argv tests 2025-12-08 18:45:43 +00:00
Roger Light
c8f114b42d Apps: Progress toward working tests on Windows 2025-12-08 18:45:43 +00:00
Roger Light
4d6a34023a Test: make env_add_ld_library_path properly cross platform 2025-12-08 18:45:43 +00:00
Roger Light
21092c5088 CMake tests: Use consistent function for adding python tests to testing 2025-12-08 18:45:43 +00:00
Roger Light
d16c3e186b Compile time fixes for tests on Windows
This doesn't mean the tests work, but everything compiles.
2025-12-08 18:45:40 +00:00
Roger Light
bf36471d17 Work around CUnit snprintf macro bug
On Windows, CUnit.h defines snprintf as a macro. This causes stdio.h to
abort with an error. Including stdio.h first should fix this. Long term,
this needs CUnit to be fixed or we stop using it.
2025-12-08 18:44:03 +00:00
Roger A. Light
cd307c3d52 Remove redundant test 2025-12-04 11:00:25 +00:00
Norbert Heusser
68d933a22f Fixed forwarding of subscription identifier to client message peristence callback
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2025-12-02 16:11:17 +00:00
Roger A. Light
d8aee44746 Make auth delayed test more robust 2025-12-02 12:24:24 +00:00
Roger A. Light
b2aa092267 libcommon base64 unit tests 2025-12-01 00:05:36 +00:00
Roger A. Light
5792e0fe7e Add broker/client per packet type tests for overlong remaining length 2025-11-24 17:23:23 +00:00
Roger A. Light
378bbb7f98 Speed up some bridge tests 2025-11-19 00:09:00 +00:00
Roger A. Light
27820a58c6 Add upper limit to auto_id_prefix
This prevents uint16_t overflow later
2025-11-01 08:32:43 +00:00
Roger A. Light
12d864d3ea Fix fuzzing corpora generation 2025-10-21 22:52:16 +01:00
Roger A. Light
a566e1a3ec Increase test delay 2025-10-14 12:23:43 +01:00
Roger A. Light
ed88d3a480 Control topic: Return error when request sent to missing endpoint 2025-10-14 10:43:31 +01:00
Roger A. Light
711f647921 Add ACL support to http-api 2025-10-14 09:22:47 +01:00
Roger A. Light
dd83c8e97a Add authentication to http-api 2025-10-14 09:04:29 +01:00
Roger A. Light
2c4967a2a4 Test: Fix x.to_bytes() on CI 2025-10-10 23:17:29 +01:00
Roger A. Light
7fa7c99a0c Valgrind test suppression 2025-10-10 23:09:02 +01:00
Roger A. Light
602cd2be42 FIx for #3388
Thanks to nickajacks1
2025-10-10 23:09:02 +01:00
Roger A. Light
aa952a4ef6 Msg sequence test: Readability improvements
Each payload has changed from being a string of hex bytes to being a
string of encoded values that better show their meaning. For example,
UTF-8 strings are now shown as strings, and different integer types are
denoted.
2025-09-30 08:10:54 +01:00
Roger A. Light
5002faadb0 Fix typo 2025-09-17 18:08:09 +01:00
Roger A. Light
4c24b92e34 Formatting: Apply to C++ files 2025-09-17 12:48:02 +01:00
Roger A. Light
460995652e Formatting: Apply to C headers 2025-09-17 12:48:02 +01:00
Roger A. Light
7ea73f6d60 Formatting: Forbid single line if statements
These hide cases from coverage checks
2025-09-17 12:48:02 +01:00
Roger A. Light
48b76e49f8 Formatting: Misc automatic formatting changes 2025-09-17 12:03:06 +01:00
Roger A. Light
883fdb2ad2 Formatting: Double indent continuation 2025-09-17 12:03:06 +01:00
Roger A. Light
6e7ddef145 Formatting: Always include comma for last enum
Plus some spacing
2025-09-17 12:03:06 +01:00
Roger A. Light
d743413ac3 Formatting: Spacing consistency 2025-09-17 12:03:06 +01:00
Roger A. Light
67ad22df0a Formatting: Double space before functions. 2025-09-17 12:03:03 +01:00
Roger A. Light
3017101dc9 Ctrl shell: Add optional priority for addRoleACL 2025-08-29 14:39:10 +01:00
Roger A. Light
f497c01ad1 Add mocks for libmosquitto_common 2025-08-28 20:07:10 +01:00
Roger A. Light
0f96d25b74 Fix session expiry list corruption
This happens if a client with session-expiry-interval set disconnects,
is kicked by a plugin, and then expires.
2025-08-25 08:58:14 +01:00
Roger A. Light
77868330e1 Fix unreachable test code 2025-08-24 11:46:07 +01:00
Roger A. Light
1ae1d08141 Fix variety of Coverity Scan issues in tests 2025-08-23 23:15:16 +01:00
Roger A. Light
3ecbf701a4 Fix variety of Coverity Scan issues in tests 2025-08-23 22:34:34 +01:00