Makefile (159099) | Makefile (163153) |
---|---|
1# $FreeBSD: head/tools/regression/execve/Makefile 159099 2006-05-31 11:22:15Z maxim $ | 1# $FreeBSD: head/tools/regression/execve/Makefile 163153 2006-10-09 06:47:08Z maxim $ |
2 3PROG= doexec 4NO_MAN= 5 6RP= ./${PROG} 7TD= ${.CURDIR}/tests 8 9TESTSCRIPTS= nonexistshell devnullscript badinterplen goodscript \ 10 scriptarg scriptarg-nospace | 2 3PROG= doexec 4NO_MAN= 5 6RP= ./${PROG} 7TD= ${.CURDIR}/tests 8 9TESTSCRIPTS= nonexistshell devnullscript badinterplen goodscript \ 10 scriptarg scriptarg-nospace |
11CLEANFILES= goodaout truncaout sparceaout empty ${TESTSCRIPTS} | 11CLEANFILES= goodaout truncaout sparseaout empty ${TESTSCRIPTS} |
12 13all: ${PROG} goodaout ${TESTSCRIPTS} 14 15.for x in ${TESTSCRIPTS} 16${x}: ${TD}/${x} 17 cp ${TD}/${x} . 18 chmod +x ${x} 19.endfor 20 21regress: test-empty test-nonexist test-nonexistshell \ 22 test-devnullscript test-badinterplen test-goodscript \ 23 test-scriptarg test-scriptarg-nospace test-goodaout \ | 12 13all: ${PROG} goodaout ${TESTSCRIPTS} 14 15.for x in ${TESTSCRIPTS} 16${x}: ${TD}/${x} 17 cp ${TD}/${x} . 18 chmod +x ${x} 19.endfor 20 21regress: test-empty test-nonexist test-nonexistshell \ 22 test-devnullscript test-badinterplen test-goodscript \ 23 test-scriptarg test-scriptarg-nospace test-goodaout \ |
24 test-truncaout test-sparceaout | 24 test-truncaout test-sparseaout |
25 26test-empty: ${PROG} 27 rm -f empty 28 touch empty 29 chmod +x empty 30 ${RP} empty | grep 'Exec format error' 31 32test-nonexist: ${PROG} --- 23 unchanged lines hidden (view full) --- 56test-goodaout: ${PROG} goodaout 57 ${RP} goodaout | grep 'succeeded' 58 59test-truncaout: ${PROG} goodaout 60 truncate -s 16 truncaout 61 chmod a+x truncaout 62 ${RP} truncaout | grep 'Exec format error' 63 | 25 26test-empty: ${PROG} 27 rm -f empty 28 touch empty 29 chmod +x empty 30 ${RP} empty | grep 'Exec format error' 31 32test-nonexist: ${PROG} --- 23 unchanged lines hidden (view full) --- 56test-goodaout: ${PROG} goodaout 57 ${RP} goodaout | grep 'succeeded' 58 59test-truncaout: ${PROG} goodaout 60 truncate -s 16 truncaout 61 chmod a+x truncaout 62 ${RP} truncaout | grep 'Exec format error' 63 |
64test-sparceaout: ${PROG} 65 /bin/rm -rf sparceaout 66 truncate -s 20480 sparceaout 67 chmod a+x sparceaout 68 ${RP} sparceaout | grep 'Exec format error' | 64test-sparseaout: ${PROG} 65 /bin/rm -rf sparseaout 66 truncate -s 20480 sparseaout 67 chmod a+x sparseaout 68 ${RP} sparseaout | grep 'Exec format error' |
69 70.include <bsd.prog.mk> | 69 70.include <bsd.prog.mk> |