Re: [NEW BUG] Running jtreg tests on NetBSD

2008-07-07 Thread Jonathan Gibbons
Alex, It is a long term goal to replace as many shell tests as possible in the langtools repository, typically with Java equivalents. For the short term, Martin's suggestion is a good one. I'd be happy to work with you on short or medium term changes if you want to help. -- Jon Martin

Re: [NEW BUG] Running jtreg tests on NetBSD

2008-06-28 Thread Martin Buchholz
Of course, the non-portable constructs in the shell scripts come from a long term mindset of if it's not solaris or linux, it must be windows. Better would be if it's not windows, it must be unix Very compactly (untested): case `uname -s` in Windows* | CYGWIN*) NULL=NUL PS=; FS=\\ ;; *)

[NEW BUG] Running jtreg tests on NetBSD

2008-06-25 Thread Alex Potanin
Hello, I am working on the javac extension and I tried to run the javac tests in the OpenJDK's latest Mercurial repository. I see that a few of them contain the following in the shell scripts: # set platform-dependent variables OS=`uname -s` case $OS in SunOS | Linux ) NULL=/dev/null