elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
test
/
libc
/
error.c
File editor
#include "testlib.h" #include <stdio.h> #include <string.h> #define N_ERR_TESTS 4 struct err_tests { int errno; const char *msg; } err_map[N_ERR_TESTS] = { { 0, "Error 0" }, { 1, "Operation not permitted " }, { 129, "Server error " }, { 999, "Error 999" }, }; /* TODO:BUG: /etc/perror is generated with trailing spaces */ TEST_CASE(error_strerror) { for (int i = 0; i < N_ERR_TESTS; ++i) { const char *msg = strerror(err_map[i].errno); EXPECT_STREQ(msg, err_map[i].msg); } }
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history