commit - cb44a3e566b46742f66f98811c2b3cb9d62eca2a
commit + c89f2770ddf57a1a5692ab4a1009674b0a66f3fd
blob - 18586e34162ccf0b1f42439024605689e1c0298c
blob + 660f2fbef5925e852a7a86e0ebb67314351cb107
--- regress/delta/delta_test.c
+++ regress/delta/delta_test.c
}
#ifndef PROFILE
- if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath unveil", NULL) == -1)
err(1, "pledge");
#endif
+ if (unveil("/tmp", "rwc") != 0)
+ err(1, "unveil");
+ if (unveil(NULL, NULL) != 0)
+ err(1, "unveil");
+
RUN_TEST(delta_apply(), "delta_apply");
return failure ? 1 : 0;