Lines Matching refs:sandbox
84 sandbox="${TMPDIR}/sandbox"
104 mkdir "${sandbox}" >& /dev/null
105 if [ ! -d "${sandbox}" -o ! -x "${sandbox}" ]; then
106 tst_brkm TBROK true "$0: failed to make directory \"${sandbox}\""
110 mount --bind "${sandbox}" "${sandbox}" >& /dev/null
112 tst_brkm TBROK true "$0: failed to perform bind mount on directory \"${sandbox}\""
116 mount --make-private "${sandbox}" >& /dev/null
118 tst_brkm TBROK true "$0: failed to make private mountpoint on directory \"${sandbox}\""
125 pushd "${sandbox}" > /dev/null && {
168 …mount --make-shared "${sandbox}" > /dev/null 2>&1 || "${FS_BIND_ROOT}/bin/smount" "${sandbox}" sha…
169 umount "${sandbox}" || {
190 grep -F "${sandbox}" /proc/mounts | sort -b
270 mount | grep -F "${sandbox}" | sort -b
346 tst_brkm TBROK true "${tname}: stale catalog of \"${sandbox}\""
352 ( find "${sandbox}" -type d -print | sort > "$2/dirs.$when"
353 find "${sandbox}" -type f -print | sort | \
366 tst_brkm TBROK true "${tname} missing saved catalog of \"${sandbox}\""
379 tst_resm TWARN "${tname} did not properly clean up \"${sandbox}\""
391 { rm -rf "${sandbox}" ; mkdir "${sandbox}" ; } >& /dev/null
392 if [ ! -d "${sandbox}" -o ! -x "${sandbox}" ]; then
393 tst_brkm TBROK true "$tname: failed to make directory \"${sandbox}\""
437 mount --bind "${sandbox}" "${sandbox}" >& /dev/null || do_break=1
438 mount --make-private "${sandbox}" >& /dev/null || do_break=1
441 tst_brkm TBROK true "$tname: failed to save pre-test state of \"${sandbox}\""
444 pushd "${sandbox}" > /dev/null
465 umount -l "${sandbox}" >& /dev/null
473 tst_brkm TBROK true "$tname: failed to restore pre-test state of \"${sandbox}\""
501 rm -rf "${sandbox}"