Return-Path: Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 24858 invoked by uid 500); 28 May 2003 00:56:52 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 24847 invoked from network); 28 May 2003 00:56:52 -0000 Date: Tue, 27 May 2003 17:57:00 -0700 From: David Wheeler To: test-dev@httpd.apache.org Cc: David Wheeler Subject: Re: resolving Apache::Test vs. Apache::test collision Message-ID: <861FFDA2-8A62-11D7-928B-0003931A964A@wheeler.net> Mail-Followup-To: David Wheeler , test-dev@httpd.apache.org Mime-Version: 1.0 Content-Type: message/rfc822 Content-Disposition: inline In-Reply-To: <3EC971F9.4030703@stason.org> User-Agent: Mutt/1.4i X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.60-cvs X-Spam-Checker-Version: SpamAssassin 2.60-cvs (1.186-2003-05-09-exp) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N -- justin ] On Monday, May 19, 2003, at 05:08 PM, Stas Bekman wrote: > That's right. Let's try this next: I've attached a new patch, which > moves the creation of lib/Apache/test.pm into a Makefile.PL. On > case-insensitive systems it'll overwrite lib/Apache/Test.pm. That appears to work, but it didn't uninstall the old test.pm, and I haven't tried any tests that use Apache::test using the new one. > I wish there was a simple test to figure out whether a filesystem is > case-insensitive. I think that Perl itself does something like this: use File::Spec::Functions qw(catfile); my $file = catfile 't', 'TestTest'; open F, ">$file" or die "Cannot open $file: $!"; close F; my $is_case_insensitive = -e catfile 't', 'testtest'; unlink $file; > Also could it possible that under the same OS one partition is > case-insensitive while the other is not? If so, what happens if the > package is built on one but the target is the other? Oh, fer cryin' out loud, I don't know. Rename it Apache::Tester and don't worry about it, I say. Regards, David -- David Wheeler AIM: dwTheory david@kineticode.com ICQ: 15726394 http://kineticode.com/ Yahoo!: dew7e Jabber: Theory@jabber.org Kineticode. Setting knowledge in motion.[sm]