sys_readalias, popen_read, and test