more test.sh solaris fixes