K 10 svn:author V 5 crees K 8 svn:date V 27 2011-06-29T19:37:51.000000Z K 7 svn:log V 192 Remove bashism from the unit tests, and also check that chosen random port is closed first to avoid intermittent failures when testing Approved by: rene (mentor), garga (maintainer, via IRC) END