summaryrefslogtreecommitdiffstats
path: root/tests/sys/kern/execve/Makefile
blob: 82c5d4b85b10e2cc790d758c9e8846ca19309218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $FreeBSD$

TESTSDIR=	${TESTSBASE}/sys/kern/execve

BINDIR=		${TESTSDIR}

MAN=

ATF_TESTS_SH+=	execve_test

PROGS+=		good_aout
PROGS+=		execve_helper

LDFLAGS.goodaout+=	-static

CLEANFILES+=	empty
CLEANFILES+=	sparse_aout
CLEANFILES+=	trunc_aout

SCRIPTS+=	bad_interp_len
SCRIPTS+=	dev_null_script
SCRIPTS+=	empty
SCRIPTS+=	good_script
SCRIPTS+=	non_exist_shell
SCRIPTS+=	script_arg
SCRIPTS+=	script_arg_nospace
SCRIPTS+=	sparse_aout
SCRIPTS+=	trunc_aout

empty:
	@touch $@

sparse_aout:
	@truncate -s 20480 $@

trunc_aout:
	@truncate -s 16 $@

.include <bsd.test.mk>
OpenPOWER on IntegriCloud