Fixed test issue842 on CentOS/libedit0.0.42