Start master in another window with redis-server master.conf
Fill master server with 10% keys that will expire very soon and 90% keys that wont expire for a while:
% ruby fill.rb | redis-cli --pipe -p 9998
All data transferred. Waiting for the last reply...
Last reply received from server.
errors: 0, replies: 1000002
Wait a few seconds and then start slave in another window with redis-server slave.conf