Lines Matching refs:sandbox
83 sandbox="${TMPDIR}/sandbox"
103 mkdir "${sandbox}" >& /dev/null
104 if [ ! -d "${sandbox}" -o ! -x "${sandbox}" ]; then
105 tst_brkm TBROK true "$0: failed to make directory \"${sandbox}\""
109 mount --bind "${sandbox}" "${sandbox}" >& /dev/null
111 tst_brkm TBROK true "$0: failed to perform bind mount on directory \"${sandbox}\""
115 mount --make-private "${sandbox}" >& /dev/null
117 tst_brkm TBROK true "$0: failed to make private mountpoint on directory \"${sandbox}\""
124 pushd "${sandbox}" > /dev/null && {
162 …mount --make-shared "${sandbox}" > /dev/null 2>&1 || "${FS_BIND_ROOT}/bin/smount" "${sandbox}" sha…
163 umount "${sandbox}" || {
184 grep -F "${sandbox}" /proc/mounts | sort -b
264 mount | grep -F "${sandbox}" | sort -b
340 tst_brkm TBROK true "${tname}: stale catalog of \"${sandbox}\""
346 ( find "${sandbox}" -type d -print | sort > "$2/dirs.$when"
347 find "${sandbox}" -type f -print | sort | \
360 tst_brkm TBROK true "${tname} missing saved catalog of \"${sandbox}\""
373 tst_resm TWARN "${tname} did not properly clean up \"${sandbox}\""
385 { rm -rf "${sandbox}" ; mkdir "${sandbox}" ; } >& /dev/null
386 if [ ! -d "${sandbox}" -o ! -x "${sandbox}" ]; then
387 tst_brkm TBROK true "$tname: failed to make directory \"${sandbox}\""
431 mount --bind "${sandbox}" "${sandbox}" >& /dev/null || do_break=1
432 mount --make-private "${sandbox}" >& /dev/null || do_break=1
435 umount -l "${sandbox}" >& /dev/null
436 tst_brkm TBROK true "$tname: failed to save pre-test state of \"${sandbox}\""
439 pushd "${sandbox}" > /dev/null
460 umount -l "${sandbox}" >& /dev/null
468 tst_brkm TBROK true "$tname: failed to restore pre-test state of \"${sandbox}\""
496 rm -rf "${sandbox}"