-/* $OpenBSD: main.c,v 1.2 2015/10/09 11:38:05 semarie Exp $ */
+/* $OpenBSD: main.c,v 1.3 2015/10/18 12:53:32 semarie Exp $ */
/*
* Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org>
*
start_test(&ret, "rpath", NULL, test_rpath);
start_test(&ret, "wpath", NULL, test_wpath);
- start_test(&ret, "cpath", NULL, test_cpath);
+ start_test(&ret, "rpath cpath", NULL, test_cpath);
/*
* test whitelist path
-# $OpenBSD: tests.out,v 1.3 2015/10/18 12:26:21 semarie Exp $
+# $OpenBSD: tests.out,v 1.4 2015/10/18 12:53:32 semarie Exp $
test(test_nop): pledge=("",NULL) status=0 exit=0
test(test_inet): pledge=("",NULL) status=9 signal=9 pledged_syscall=97
test(test_inet): pledge=("abort",NULL) status=134 signal=6 coredump=present pledged_syscall=97
test(test_allowed_syscalls): pledge=("fattr",NULL) status=9 signal=9 pledged_syscall=89
test(test_rpath): pledge=("rpath",NULL) status=0 exit=0
test(test_wpath): pledge=("wpath",NULL) status=0 exit=0
-test(test_cpath): pledge=("cpath",NULL) status=0 exit=0
+test(test_cpath): pledge=("rpath cpath",NULL) status=0 exit=0
test(test_wpaths): pledge=("stdio rpath",NULL)
open_close("/etc/passwd") fd=3 errno=0
open_close("generic") fd=3 errno=0