xref: /freebsd/tests/sys/kern/execve/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1bbf12e6fSEnji CooperTESTSDIR=	${TESTSBASE}/sys/kern/execve
2bbf12e6fSEnji Cooper
3bbf12e6fSEnji CooperBINDIR=		${TESTSDIR}
4bbf12e6fSEnji Cooper
5bbf12e6fSEnji CooperMAN=
6bbf12e6fSEnji Cooper
7bbf12e6fSEnji CooperATF_TESTS_SH+=	execve_test
8bbf12e6fSEnji Cooper
9bbf12e6fSEnji CooperPROGS+=		good_aout
10bbf12e6fSEnji CooperPROGS+=		execve_helper
11*e5b431fcSKyle EvansPROGS+=		execve_argc_helper
12bbf12e6fSEnji Cooper
13bbf12e6fSEnji CooperLDFLAGS.goodaout+=	-static
14bbf12e6fSEnji Cooper
15bbf12e6fSEnji CooperCLEANFILES+=	empty
16bbf12e6fSEnji CooperCLEANFILES+=	sparse_aout
17bbf12e6fSEnji CooperCLEANFILES+=	trunc_aout
18bbf12e6fSEnji Cooper
19bbf12e6fSEnji CooperSCRIPTS+=	bad_interp_len
20bbf12e6fSEnji CooperSCRIPTS+=	dev_null_script
21bbf12e6fSEnji CooperSCRIPTS+=	empty
22bbf12e6fSEnji CooperSCRIPTS+=	good_script
23bbf12e6fSEnji CooperSCRIPTS+=	non_exist_shell
24bbf12e6fSEnji CooperSCRIPTS+=	script_arg
25bbf12e6fSEnji CooperSCRIPTS+=	script_arg_nospace
26bbf12e6fSEnji CooperSCRIPTS+=	sparse_aout
27bbf12e6fSEnji CooperSCRIPTS+=	trunc_aout
28bbf12e6fSEnji Cooper
29bbf12e6fSEnji Cooperempty:
30bbf12e6fSEnji Cooper	@touch $@
31bbf12e6fSEnji Cooper
32bbf12e6fSEnji Coopersparse_aout:
33bbf12e6fSEnji Cooper	@truncate -s 20480 $@
34bbf12e6fSEnji Cooper
35bbf12e6fSEnji Coopertrunc_aout:
36bbf12e6fSEnji Cooper	@truncate -s 16 $@
37bbf12e6fSEnji Cooper
38bbf12e6fSEnji Cooper.include <bsd.test.mk>
39