Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 19427 invoked from network); 14 Mar 2006 00:33:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Mar 2006 00:33:28 -0000 Received: (qmail 95815 invoked by uid 500); 14 Mar 2006 00:33:27 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 95781 invoked by uid 500); 14 Mar 2006 00:33:27 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 95772 invoked by uid 99); 14 Mar 2006 00:33:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 16:33:27 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of suresh.thalamati@gmail.com designates 64.233.184.197 as permitted sender) Received: from [64.233.184.197] (HELO wproxy.gmail.com) (64.233.184.197) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 16:33:25 -0800 Received: by wproxy.gmail.com with SMTP id i31so1316414wra for ; Mon, 13 Mar 2006 16:33:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=HqwrmZh69H5Pkpq4RIl1QsQ2PV6Hbm0drwLC3a03IDnaTG2JXy2Hw3DG3UMviazVRnBhUzo5/4wZIVLx94fErBg+KSino0XiS6F2yJOSZfwM+KP0OHc+Vbps3I1W9zfSLnyyoNVYj7mgkQmt96CvSylzVaFjZzlBi/LTVEis9/A= Received: by 10.54.71.13 with SMTP id t13mr87569wra; Mon, 13 Mar 2006 16:33:01 -0800 (PST) Received: from ?9.30.38.168? ( [129.42.184.35]) by mx.gmail.com with ESMTP id 27sm6497554wrl.2006.03.13.16.33.00; Mon, 13 Mar 2006 16:33:01 -0800 (PST) Message-ID: <44160F3B.4010203@gmail.com> Date: Mon, 13 Mar 2006 16:32:59 -0800 From: Suresh Thalamati User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: q re OnlineBackupTest1... References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Myrna, Backup does not enforce any restrictions on which separator to use and does not do any conversions. It just passes path specified directly to to java.io.File constructors to create File object. I think most VM's on Windows/MAC understands "/" as a name separator and internally convert it to correct platform specific path name. Correct way to build paths is to use File.separator to separate the names in the path. Thanks -suresht Myrna van Lunteren wrote: > Hi, > > I noticed in passing that a few of the store tests - for example, > OnlineBackupTest1 - use hardcoded '/' in paths. > While I've not checked this, I am worrying that this test might not pass > under DOS (note, it would be find under cygwin, but not everyone may > have some such shell simulator). > > Or is there some functionality in the backup tools that always want > forward slashes and translate it correctly to the operating system path > separator? > > Myrna >