test: add sigabbrev_np() for systems where it's not available

sigabbrev_np() was first added to glibc 2.32 (Aug 2020) which is too recent
for some of the distributions we support.
This commit is contained in:
Peter Hutterer 2021-06-10 08:33:36 +10:00
parent 5cf3c28fa4
commit 731f45ed50
6 changed files with 125 additions and 0 deletions

View file

@ -59,6 +59,8 @@
#include "pwtest.h"
#include "pwtest-compat.c"
#define pwtest_log(...) dprintf(testlog_fd, __VA_ARGS__)
#define pwtest_vlog(format_, args_) vdprintf(testlog_fd, format_, args_)