summaryrefslogtreecommitdiffstats
path: root/src/sh_restrict.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sh_restrict.c')
-rw-r--r--src/sh_restrict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sh_restrict.c b/src/sh_restrict.c
index 4e255e3..7409751 100644
--- a/src/sh_restrict.c
+++ b/src/sh_restrict.c
@@ -603,7 +603,7 @@ void Test_restrict (CuTest *tc) {
CuAssertIntEquals(tc,0,res);
CuAssertPtrNotNull(tc, sh_restrict_list);
-#if !defined(HOST_IS_CYGWIN)
+#if !defined(HOST_IS_CYGWIN) && !defined(HOST_IS_DARWIN)
res = sh_restrict_this("/bin/sh", 1000, 0755, fd);
CuAssertIntEquals(tc,1,res);
#endif