First pass to make bluhm@ happy regarding doas regress conf.
authorzhuk <zhuk@openbsd.org>
Tue, 30 May 2017 20:46:03 +0000 (20:46 +0000)
committerzhuk <zhuk@openbsd.org>
Tue, 30 May 2017 20:46:03 +0000 (20:46 +0000)
commitc52384588f7cb85c5d9f106573091eef66991ed5
treecb9686d20d71873f34dc65591f532f3b15163db4
parent5e15c3693c1e3206a6476352e8c40804c2e13366
First pass to make bluhm@ happy regarding doas regress conf.

1. Make permit tests use wsrc instead of wobj (because basically, to run
   test you need obj being writable, unless you want to pollute /usr/src);
2. Test if current user is in wobj group prior running the test, and skip
   the test if he is not.
regress/usr.bin/doas/Makefile
regress/usr.bin/doas/t-permit-1.conf