Modification for main.pm and login without install script. Need to set REGRESSION and KEEPHDDS to enable it
Merge pull request #5 from nick-wang/master

Lovely stuff to get the x11regression cases integrated :)