Lines Matching refs:tmpdir
337 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
339 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
342 # directly in world-writeable /tmp, make sure that the '$tmpdir'
346 $mkdirprog $mkdir_mode "$tmpdir" &&
347 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
354 test_tmpdir="$tmpdir/a"
368 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
371 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null