1# $OpenBSD: Makefile,v 1.2 2020/12/16 18:40:10 bluhm Exp $ 2 3PROG= execpromise 4 5run-normal: ${PROG} 6 ./${PROG} "stdio rpath inet" "stdio inet" 7REGRESS_TARGETS+= run-normal 8 9run-no-child-pledge: ${PROG} 10 ./${PROG} "stdio rpath inet" 11REGRESS_TARGETS+= run-no-child-pledge 12 13run-abort-child: ${PROG} 14 if ./${PROG} "stdio rpath"; \ 15 then false; else [[ $$? == 134 ]]; fi 16REGRESS_TARGETS+= run-abort-child 17 18run-ENOSYS-child: ${PROG} 19 if ./${PROG} "stdio rpath error"; \ 20 then false; else [[ $$? == 23 ]]; fi 21REGRESS_TARGETS+= run-ENOSYS-child 22 23run-upgrade-fail: ${PROG} 24 if ./${PROG} "stdio rpath inet" "stdio inet wpath"; \ 25 then false; else [[ $$? == 24 ]]; fi 26REGRESS_TARGETS+= run-upgrade-fail 27 28run-upgrade-ignore: ${PROG} 29 ./${PROG} "stdio rpath inet error" "stdio rpath wpath inet" 30REGRESS_TARGETS+= run-upgrade-ignore 31 32.include <bsd.regress.mk> 33