xrdp/tests/common
Daniel Richard G 1c0c923ad1 Split g_file_open() into _ro() and _rw() variants
Rename g_file_open() to g_file_open_rw(), and add a new g_file_open_ro()
call that wraps the common g_file_open_ex(file, 1, 0, 0, 0) idiom. This
will make the file access mode more explicit in the code.

Change all calls to g_file_open() to the _ro() or _rw() variant as
appropriate, and replace g_file_open_ex(file, 1, 0, 0, 0) with the _ro()
call.

Lastly, add tests for the two new calls to test_os_calls.c (code
courteously provided by matt335672).
2023-05-15 17:38:31 -04:00
..
Makefile.am Add simple list test cases 2023-02-13 10:37:46 +00:00
test_base64.c Implement base64 without openssl 2022-01-28 12:23:40 +00:00
test_common_main.c Add simple list test cases 2023-02-13 10:37:46 +00:00
test_common.h Add simple list test cases 2023-02-13 10:37:46 +00:00
test_guid.c guid_new() returns GUIDs compatible with RFC4122 2022-11-10 14:19:19 +00:00
test_list_calls.c Add list_add_strdup() etc 2023-03-06 15:58:13 +00:00
test_os_calls.c Split g_file_open() into _ro() and _rw() variants 2023-05-15 17:38:31 -04:00
test_ssl_calls.c Implement base64 without openssl 2022-01-28 12:23:40 +00:00
test_string_calls.c common: add function to convert from Microsoft's GUID to string 2022-11-01 19:24:02 +09:00