fix change_testname.sh
allow errmsg to handle formatting
fix typo
add checked_munmap
add more strict check on checked_mmap
add THPS