glib/glib/tests
Philip Withnall 8300b52cbb Merge branch 'wip/smcv/closefrom' into 'main'
glib-unix: Add g_closefrom(), g_fdwalk_set_cloexec()

Closes #3247

See merge request GNOME/glib!3884
2024-02-09 14:06:52 +00:00
..
bookmarks tests: Test date overflow failure with bookmark file parsing 2020-10-01 11:46:23 +01:00
markups gmarkup tests: tab character escape/unescape 2020-04-03 16:30:27 +02:00
path-test-subdir glib/tests/meson: Compile tests extra programs using same strategy as gio 2022-11-01 01:56:27 +01:00
time-zones tests: Add tests for RFC 8536 v3 parsing of time zones 2020-07-17 15:08:59 +01:00
1bit-mutex.c gbitlock: add g_pointer_bit_lock_and_get() 2024-01-16 12:50:31 +01:00
4096-random-bytes
642026.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
array-test.c array-test: Don't assume sizeof(void*)==sizeof(gsize) 2024-01-15 16:30:47 -08:00
assert-msg-test.c testutils: Factor out g_test_disable_crash_reporting() 2023-07-26 15:41:47 +01:00
assert-msg-test.py tests: Skip assert-msg-test.py if gdb fails 2023-03-02 09:36:10 -05:00
asyncqueue.c glib/tests/asyncqueue.c: skip test_async_queue_timed in 2038 or later 2023-08-24 19:45:09 +00:00
atomic.c gatomic: Use g(u)intptr where appropriate 2023-10-10 08:30:46 -07:00
autoptr.c Add G_*_AUTO_LOCK macros 2024-01-17 08:57:12 -05:00
base64.c Fix global variable name hidden by local variables in glib/tests/base64.c 2022-04-01 00:18:40 +01:00
bitlock.c tests: Allow bitlock performance test to be smoketested 2022-06-21 12:57:33 +01:00
bookmarkfile.c tests: Change the time function used in the bookmark tests 2023-03-06 18:25:42 +00:00
bookmarks.xbel Fix a typo 2010-07-10 23:56:45 -04:00
bytes.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
cache.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
casefold.txt gunicode: Update to Unicode 15.1.0 2023-10-17 22:59:27 +01:00
casemap.txt gunicode: Update to Unicode 15.1.0 2023-10-17 22:59:27 +01:00
charset.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
checksum.c Fix several signedness problems in glib/tests/checksum.c 2020-10-14 14:17:09 +02:00
collate.c Revert "gio, glib: Use G_OS_DARWIN for code that is for such environments" 2022-11-07 11:30:32 +00:00
completion.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
cond.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
constructor-helper.c tests/constructor: Fix "unknown pragma ignored" warning on clang 2023-10-04 13:43:05 +01:00
constructor.c tests/constructor: Support systems where dlclose is a no-op 2023-10-03 11:07:16 +02:00
convert.c tests: Test file:// URIs with both query and fragment 2023-12-20 19:23:40 +01:00
cxx.cpp tests/cxx: Do not assume that NULL is a pointer type starting with C++11 2023-10-12 11:45:03 +02:00
dataset.c gdatalist: remove restriction of number of keys in g_datalist_id_remove_multiple() 2024-02-02 19:56:26 +01:00
date.c Revert "gio, glib: Use G_OS_DARWIN for code that is for such environments" 2022-11-07 11:30:32 +00:00
dir.c gdir: Add refcounting support and a boxed type 2023-11-23 12:34:39 +00:00
echo-script spawn: add shebang line to script 2018-12-17 16:19:31 -05:00
echo-script.bat glib/tests/spawn-singlethread: Improve test for Windows 2013-11-11 22:38:36 +08:00
empty Improve test coverage 2011-02-13 23:49:19 -05:00
environment.c tests: Add descriptions to environment tests 2023-05-22 17:33:29 +01:00
error.c gerror: Emit a critical warning if the message format is NULL 2023-02-20 16:41:23 +00:00
fileutils.c tests: Fix fileutils build on FreeBSD and macOS 2023-11-26 22:10:22 +00:00
gdatetime.c gdatetime: Ignore %E modifier on 64-bit big-endian for the moment 2024-01-15 14:18:40 +00:00
gen-casefold-txt.py tests: Add some SPDX license headers 2022-05-17 17:23:34 +01:00
gen-casemap-txt.py tests: Add some SPDX license headers 2022-05-17 17:23:34 +01:00
getpwuid-preload.c tests/gutils-user-database: Fix test on macOS 2023-09-27 16:19:44 +02:00
gpoll.c gpoll: Print results to stderr 2023-01-20 14:06:23 +01:00
gutils-user-database.c Fix gutils-user-database unit test 2023-09-06 12:11:49 +00:00
guuid.c Add SPDX license headers for LGPL-2.1-or-later to various files 2022-06-01 12:44:23 +01:00
gvariant.c tests: Avoid calling malloc(0) in gvariant tests 2024-01-16 16:55:08 +00:00
gwakeuptest.c gwakeuptest: Do not rely on alarm() to stop tests on timeout 2022-12-06 12:25:22 +01:00
hash.c ghash: Add functions to steal all keys and values preserving ownership 2022-12-16 18:45:36 +01:00
hmac.c ghmac: Add support for G_CHECKSUM_SHA384 to GHmac 2017-02-20 12:40:26 +01:00
hook.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
hostutils.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
include.c glib/tests/include: port to gtester 2013-11-23 00:39:07 -05:00
io-channel-basic.c Windows: Compile with the UNICODE / _UNICODE macros 2023-10-12 11:32:03 +02:00
io-channel.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
iochannel-test-infile tests: Merge iochannel-test into io-channel tests in glib directory 2022-02-17 21:42:35 +00:00
keyfile.c tests: Separate invalid escaping tests for GKeyFile 2023-10-04 11:30:02 +01:00
keyfiletest.ini forgotten file 2010-07-07 22:03:02 -04:00
list.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
logging.c gmessages: introduce g_log_writer_default_set_debug_domains() 2023-11-21 20:49:37 +01:00
macros.c macros: Add a generic way to get and check the supported C standard 2022-11-22 17:23:14 +01:00
mainloop.c gmain: remove unnecessary initialization of *timeout in prepare() callbacks 2023-05-18 11:26:33 +02:00
mappedfile.c glib: Avoid redefining GLIB_DISABLE_DEPRECATION_WARNINGS 2020-07-27 15:41:09 +01:00
mapping.c tests: Fix running mapping test with -m argument 2024-01-18 17:22:09 +00:00
markup-collect.c Rename G_MARKUP_PARSE_FLAGS_NONE 2022-07-25 22:30:22 +01:00
markup-escape.c Fix signedness warnings in glib/tests/markup-escape.c 2020-11-13 10:12:16 +01:00
markup-example.c docs: Add simple GMarkup parser example 2023-04-11 12:19:30 +01:00
markup-parse.c Rename G_MARKUP_PARSE_FLAGS_NONE 2022-07-25 22:30:22 +01:00
markup-subparser.c Use g_string_free_and_steal () more 2023-01-27 11:55:27 +03:00
markup.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
max-version.c tests: Test that we can include all headers with an old MAX_VERSION 2022-10-27 14:50:48 +01:00
mem-overflow.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
memchunk.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
meson.build glit: tests: enable regex test under musl 2023-12-08 17:28:10 +01:00
messages-low-memory.c testutils: Factor out g_test_disable_crash_reporting() 2023-07-26 15:41:47 +01:00
messages-low-memory.py tests: Run processes under test with G_DEBUG=fatal-warnings 2023-11-07 13:51:56 +00:00
mutex.c glib: reset errno to 0 when futex() returns EAGAIN 2023-06-22 14:22:03 +00:00
node.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
NormalizationTest.txt tests: Update Unicode normalisation tests from Unicode 15 2023-03-24 12:21:37 +00:00
once.c Use g_once_init_{enter,leave}_pointer where appropriate 2023-10-04 13:57:16 +01:00
onceinit.c Use g_once_init_{enter,leave}_pointer where appropriate 2023-10-04 13:57:16 +01:00
option-argv0.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
option-context.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
overflow.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
pages.ini Add testcase for bug 640695 2011-01-27 23:07:53 -05:00
pathbuf.c pathbuf: Treat forward slashes and backslashes as equivalent on Windows 2023-02-10 11:13:36 +00:00
pattern.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
private.c gthread-win32: Clean up GPrivate data in all cases 2023-10-03 10:26:10 +02:00
protocol.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
queue.c tests: Simplify a helper function in queue test 2023-03-16 12:05:07 +00:00
rand.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
rcbox.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
rec-mutex.c tests: Reduce thread and iteration count on CI for /thread/rec-mutex3 2023-06-01 12:19:09 +01:00
refcount.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
refstring.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
regex.c gregex: clean up usage of _GRegex.jit_status 2023-12-18 11:23:56 +00:00
relation.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
rwlock.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
scannerapi.c gtestutils: Add G_TEST_SUBPROCESS_DEFAULT, G_TEST_TRAP_DEFAULT 2022-06-23 10:47:13 +01:00
search-utils.c glib/tests: Fix variable maybe uninitialized warning 2022-01-25 20:18:41 +01:00
sequence.c tests/sequence: Ensure iterator is set and actually checked 2022-10-24 21:33:18 +02:00
shell.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
slice.c glib/tests: Drop debug build of slice test 2023-01-25 13:49:09 +00:00
slist.c tests: Don't compare strings by pointer 2020-03-05 09:39:33 +01:00
sort.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
spawn-multithreaded.c Windows: Compile with the UNICODE / _UNICODE macros 2023-10-12 11:32:03 +02:00
spawn-path-search-helper.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
spawn-path-search.c Merge branch 'win32-fd' into 'main' 2022-05-18 14:01:43 +00:00
spawn-singlethread.c glib: Pass O_CLOEXEC rather than FD_CLOEXEC to g_unix_open_pipe() 2023-08-16 14:31:40 +01:00
spawn-test-helper.c Add test coverage for G_SPAWN_SEARCH_PATH 2021-01-28 18:37:45 +00:00
spawn-test-win32-gui.c spawn-test-win32-gui: Write state to stderr 2023-01-20 14:06:23 +01:00
spawn-test.c Add test for UCRT issue workaround 2023-04-14 17:15:28 +01:00
strfuncs.c tests: Check a few results in strfuncs tests 2023-03-20 10:43:25 +00:00
string.c tests: Fix string test failure on BSDs 2023-11-27 13:26:51 +00:00
strvbuilder.c gstrvbuilder: Add g_strv_builder_take 2023-10-15 15:45:58 +02:00
taptestrunner.py Convert tests/assert-msg-test* to glib/tests/assert-msg-test* 2022-06-28 11:19:21 +01:00
test-printf.c gprintf: Fix invalid size allocation in g_vasprintf() 2023-11-27 12:20:12 +00:00
test-spawn-echo.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
test-spawn-sleep.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
testing-helper.c tests: Disable crash reporting in g_error() path in testing-helper 2024-01-18 15:23:53 +00:00
testing.c tests: Drop a duplicate test from testing tests 2024-01-18 17:22:09 +00:00
testutils.h tests: Break out assert_fd_was_closed() into a header 2023-10-09 18:44:38 +01:00
thread-deprecated.c Move tests/thread-test.c to glib/tests/thread-deprecated.c 2022-05-06 10:50:40 +02:00
thread-pool-slow.c tests: Refactor thread-pool-slow to separate test functions 2023-11-03 12:10:49 +00:00
thread-pool.c Add a SPDX LicenseRef for the license historically used for tests 2022-11-02 12:34:19 +00:00
thread.c Account for cpu affinity in g_get_num_processors 2023-12-22 16:11:45 +00:00
timeout.c add g_timeout_add_seconds_once 2023-05-02 13:42:54 +02:00
timer.c tests: Fix an intermittent timing error with testing g_usleep(0) 2023-06-21 11:52:03 +01:00
tree.c tests: Use g_assert_*() rather than g_assert() in tree tests 2023-08-12 19:41:26 +01:00
types.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
unicode-encoding.c Move tests/unicode-encoding.c to glib/tests/unicode-encoding.c 2022-04-04 18:51:30 +02:00
unicode-normalize.c collate: Don't segfault on bad input 2023-11-26 22:41:26 +00:00
unicode.c gunicode: Add new line-break types from Unicode 15.1.0 2023-10-17 22:45:55 +01:00
unix.c Merge branch 'wip/smcv/closefrom' into 'main' 2024-02-09 14:06:52 +00:00
uri.c tests: Test file:// URIs with both query and fragment 2023-12-20 19:23:40 +01:00
utf8-misc.c gutf8: Add a g_utf8_truncate_middle() function 2023-05-25 00:36:56 +02:00
utf8-performance.c tests: Allow utf8-performance tests to be smoketested 2022-06-21 12:57:33 +01:00
utf8-pointer.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
utf8-validate.c tests: Add SPDX license headers automatically 2022-05-18 09:21:02 +01:00
utf8.txt Move tests/unicode-encoding.c to glib/tests/unicode-encoding.c 2022-04-04 18:51:30 +02:00
utils-isolated.c gtestutils: Use $G_TEST_TMPDIR as temporary directory when defined 2022-12-19 21:37:19 +01:00
utils.c tests: Fix use of TMPDIR in utils test 2023-11-23 12:18:21 +00:00
win32.c tests/win32: Initialize DWORD with the right constant 2023-10-12 11:45:33 +02:00