aboutsummaryrefslogtreecommitdiff
path: root/test/unit/fixtures
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2016-11-01 10:38:03 +0300
committerZyX <kp-pav@yandex.ru>2017-03-11 23:23:30 +0300
commit1edb3ccc3699d1782a1d1a12ce2429ce0dcdcfcb (patch)
treee73879eb905672031b86902ec8aca6d327e762a4 /test/unit/fixtures
parent3adecd3ede8bc3abbd779352e73fd3095c670def (diff)
downloadrneovim-1edb3ccc3699d1782a1d1a12ce2429ce0dcdcfcb.tar.gz
rneovim-1edb3ccc3699d1782a1d1a12ce2429ce0dcdcfcb.tar.bz2
rneovim-1edb3ccc3699d1782a1d1a12ce2429ce0dcdcfcb.zip
unittests: Use own bindings to libc syscall wrappers
Diffstat (limited to 'test/unit/fixtures')
-rw-r--r--test/unit/fixtures/posix.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unit/fixtures/posix.h b/test/unit/fixtures/posix.h
new file mode 100644
index 0000000000..f6f24cd9dc
--- /dev/null
+++ b/test/unit/fixtures/posix.h
@@ -0,0 +1,11 @@
+#include <unistd.h>
+#include <string.h>
+#include <errno.h>
+#include <sys/wait.h>
+#include <stdlib.h>
+
+enum {
+ kPOSIXErrnoEINTR = EINTR,
+ kPOSIXErrnoECHILD = ECHILD,
+ kPOSIXWaitWUNTRACED = WUNTRACED,
+};