--TEST-- readline_write_history(): Basic test --EXTENSIONS-- readline --SKIPIF-- --FILE-- --EXPECT-- string(6) "foo 1 "