summaryrefslogtreecommitdiff
path: root/Userland/Tests/LibC
AgeCommit message (Collapse)Author
2020-10-29CMake: Use CONFIGURE_DEPENDS in existing globs.asynts
2020-10-25AK: Eradicate calls to warn().asynts
2020-10-25LibC+Tests: Fix broken snprintf test.asynts
`snprintf` returns the number of characters that would have been written had the buffer been large enough. It's a common trick to call `snprintf(nullptr, 0, ...)` to measure how large a buffer has to be. Thus the return value is not zero but fourteen.
2020-08-24LibC: Stub and test strlcpyBen Wiederhake
2020-08-24Tests: Remove unused includeBen Wiederhake
2020-08-22LibC: Demonstrate off-by-one in current snprintfBen Wiederhake
The function whose main selling point is that there always is a NUL-terminator ... missed the NUL-terminator.
2020-08-12Test: Mark compilation-unit-only functions as staticBen Wiederhake
This enables a nice warning in case a function becomes dead code. Also, in the case of test-crypto.cpp, I took the liberty to add the prefix 'g_' to the global event loop.
2020-08-02Tests: License headers, clang-format, clearer outputBen Wiederhake
2020-08-02Tests: Build automatically, fix compilation errorsBen Wiederhake