blob: 263cb3bd990ba3bc921647c348c5732653855161 (
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
|
# $OpenBSD: Makefile,v 1.3 2015/12/15 04:18:46 schwarze Exp $
REGRESS_TARGETS= valid_keywords invalid_keywords command cwd user
# This test ensures that ps(1) will actually accept the keywords it claims to
# accept, and that the list of keywords in ps/keyword.c are in ascending order
# (which is required by the bsearch(3)-based keyword lookup code)
valid_keywords:
ps -o "$$(ps -L)" >/dev/null
invalid_keywords:
if ps -o "bogus" >/dev/null 2>&1; then \
false; \
fi
command: shortsleep
sh ${.CURDIR}/command.sh
cwd: shortsleep
sh ${.CURDIR}/cwd.sh
user: shortsleep
sh ${.CURDIR}/user.sh
cleandir:
rm -f shortsleep
.include <bsd.regress.mk>
|