Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 99069 invoked from network); 1 Nov 2006 13:40:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2006 13:40:35 -0000 Received: (qmail 90689 invoked by uid 500); 1 Nov 2006 13:40:40 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 90639 invoked by uid 500); 1 Nov 2006 13:40:40 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 90629 invoked by uid 99); 1 Nov 2006 13:40:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 05:40:40 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 195.212.29.136 is neither permitted nor denied by domain of mark.hindess@googlemail.com) Received: from [195.212.29.136] (HELO mtagate3.uk.ibm.com) (195.212.29.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 05:40:24 -0800 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate3.uk.ibm.com (8.13.8/8.13.8) with ESMTP id kA1DdwTY200730 for ; Wed, 1 Nov 2006 13:40:01 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kA1DgaR21826996 for ; Wed, 1 Nov 2006 13:42:36 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kA1Ddv2R027820 for ; Wed, 1 Nov 2006 13:39:57 GMT Received: from anaheim.local (anaheim.hursley.ibm.com [9.20.183.13]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kA1DdvZn027817 for ; Wed, 1 Nov 2006 13:39:57 GMT Message-Id: <200611011339.kA1DdvZn027817@d06av02.portsmouth.uk.ibm.com> X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-7) with nmh-1.1 In-reply-to: <454878E8.5000800@gmail.com> References: <7273946b0610310102x20c80a2fm88d2113a03a7e8fb@mail.gmail.com> <454712DA.2050001@gmail.com> <454878E8.5000800@gmail.com> Comments: In-reply-to Tim Ellison message dated "Wed, 01 Nov 2006 10:37:28 +0000." From: Mark Hindess To: harmony-dev@incubator.apache.org Subject: Re: [security][testing] 2 tests failed today Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 01 Nov 2006 13:39:48 +0000 X-Virus-Checked: Checked by ClamAV on apache.org Fixed in r469902. Turns out the exec was putting double quotes around the classpath argument (which might make sense if it was going to a shell) but it doesn't for an exec syscall. This resulted in classes being search for in the non-existent directory: "/path/to/modules/luni/bin/test rather than: /path/to/modules/luni/bin/test Regards, Mark - confused as to why it didn't also fail on windows On 1 November 2006 at 10:37, Tim Ellison wrote: > Boris Kuznetsov wrote: > > The tests use tests.support.Support_Exec.execJava2() to perform > > testing on other JVM. This method uses Runtime.getRuntime().exec() to > > run command. You can see command (it looks like java -cp .... > > ) in the test's System.out. It woks OK on Win, but produces > > NoClassDefFoundError on linux. > > Note, the command woks OK in linux sh also. > > Yes, I don't think it is the tests for HARMONY-1674 per se that are > failing, but they are exposing a problem in the exec -- which is why I > haven't rolled back that commit. > > I'll keep looking at it, let me know if you see the problem. > > Regards, > Tim > > -- > > Tim Ellison (t.p.ellison@gmail.com) >