Debian Codegraph @

contrib/seccomp/Makefile

raw
1 all: explore
2
3 go.sum:
4 go mod tidy
5
6 explore: explore.go go.sum
7 go build $@
8
9 test: explore
10 @echo test does nothing, try sudotest
11
12 sudotest: explore
13 sudo ./explore --kill=false --errno=0
14 sudo ./explore --psx --kill=false --errno=0
15 sudo ./explore --kill=false ; if [[ $$? -ne 0 ]]; then echo expected error observed ; exit 0 ; fi ; echo should have failed ; exit 1
16 sudo ./explore --psx --kill=false ; if [[ $$? -ne 0 ]]; then echo expected error observed ; exit 0 ; fi ; echo should have failed ; exit 1
17
18 clean:
19 rm -f explore go.sum *~