]> mj.ucw.cz Git - suidgw.git/commitdiff
Makefile: test-setup target
authorMartin Mares <mj@ucw.cz>
Tue, 12 Feb 2013 11:42:34 +0000 (12:42 +0100)
committerMartin Mares <mj@ucw.cz>
Tue, 12 Feb 2013 11:42:34 +0000 (12:42 +0100)
Makefile

index 9b11b9e7415c60b53cdca95a930478db17eb8a9f..9d2a584419d3a16d425960d3888eeef4117794db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,5 +4,11 @@ all: suidgw
 
 suidgw: suidgw.c
 
+test-setup:
+       chown root.root suidgw
+       chmod u+s suidgw
+       chown testuser.nogroup scripts/quork
+       chmod ug+s scripts/quork
+
 clean:
        rm -f suidgw *.o