From 28e59cb2235c9cf37571e339bd09df3e8acacaf6 Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Tue, 27 Oct 2015 13:15:41 +0000 Subject: Use libuv errors instead of errno in unit tests Replaced old unit tests for errno with libuv error codes UV_ENOENT and UV_EEXIST (for os_open and os_getperms). Added libuv include path to test/includes compiler calls - needed to get hold of libuv headers. --- test/includes/pre/sys/errno.h | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 test/includes/pre/sys/errno.h (limited to 'test/includes/pre/sys') diff --git a/test/includes/pre/sys/errno.h b/test/includes/pre/sys/errno.h deleted file mode 100644 index 0b8934d33e..0000000000 --- a/test/includes/pre/sys/errno.h +++ /dev/null @@ -1,4 +0,0 @@ -#include - -static const int kENOENT = ENOENT; -static const int kEEXIST = EEXIST; -- cgit