Lines Matching refs:tname
211 local tname="$1"
214 tst_brkm TBROK true "${tname}: Could not find pre-test proc mount list"
226 tst_resm TWARN "${tname}: did not properly clean up its proc mounts"
291 local tname="$1"
294 tst_brkm TBROK true "${tname}: Could not find pre-test mtab mount list"
306 tst_resm TWARN "${tname}: did not properly clean up its mtab mounts"
336 local tname="$1"
340 tst_brkm TBROK true "${tname}: stale catalog of \"${sandbox}\""
357 local tname="$1"
360 tst_brkm TBROK true "${tname} missing saved catalog of \"${sandbox}\""
364 save_sandbox "${tname} (check)" "$2"
373 tst_resm TWARN "${tname} did not properly clean up \"${sandbox}\""
383 local tname="$1"
387 tst_brkm TBROK true "$tname: failed to make directory \"${sandbox}\""
414 local tname="$(basename "$(dirname "$t")")/$(basename "$t")"
415 local log="$resdir/$tname/log"
416 local errlog="$resdir/$tname/err"
422 mkdir -p "$resdir/$tname"
423 if [ ! -d "$resdir/$tname" -o ! -x "$resdir/$tname" ]; then
424 tst_brkm TBROK true "$0: can't make or use \"$resdir/$tname\" as a log directory"
428 save_sandbox "$tname" "$resdir/$tname" || do_break=1
429 save_mounts "$tname" "$resdir/$tname" || do_break=1
430 save_proc_mounts "$tname" "$resdir/$tname" || do_break=1
436 tst_brkm TBROK true "$tname: failed to save pre-test state of \"${sandbox}\""
443 TCID="$tname"
461 check_proc_mounts "$tname" "$resdir/$tname" || \
462 restore_proc_mounts "$tname" "$resdir/$tname" || do_break=1
463 check_mounts "$tname" "$resdir/$tname" || \
464 restore_mounts "$tname" "$resdir/$tname" || do_break=1
465 check_sandbox "$tname" "$resdir/$tname"
466 clean_sandbox "$tname" || do_break=1
468 tst_brkm TBROK true "$tname: failed to restore pre-test state of \"${sandbox}\""