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

10 lines
199 B
Bash

if [ -z `which mcookie` ] || [ -z `which ln` ] || [ -z `which true` ] || [ -z `which rm` ]; then
exit 125;
fi
TMP=$(mcookie)
ln -s /proc/self/mounts ${TMP}
${PROOT} -b ${TMP} true
rm ${TMP}