0
1
mirror of https://github.com/termux/proot.git synced 2024-11-11 13:49:26 +00:00
proot/tests/test-cdd39012.sh
2016-08-21 07:42:00 -04:00

12 lines
323 B
Bash

if [ ! -x ${ROOTFS}/bin/ptrace ] || [ ! -x ${ROOTFS}/bin/ptrace-2 ] || [ ! -x ${ROOTFS}/bin/true ]; then
exit 125;
fi
${PROOT} -r ${ROOTFS} ptrace
${PROOT} -r ${ROOTFS} ptrace 2
${PROOT} -r ${ROOTFS} ptrace-2 /bin/true
${PROOT} -r ${ROOTFS} ptrace-2 /bin/fork-wait
${PROOT} -r ${ROOTFS} ptrace-2 /bin/fork-wait 2