Removed bashism in support for dash in testfile.