Opened 15 years ago

Closed 15 years ago

#82 closed defect (fixed)

TRANSLATE-PATHNAME failure

Reported by: Mark Evenson Owned by: Mark Evenson
Priority: minor Milestone:
Component: other Version:
Keywords: logical-pathname Cc:
Parent Tickets:

Description

Regression in TRANSLATE-PATHNAME (added in r12406 to testsuite)]

(deftest bugs.translate-logical-pathname
    #|
    Date: Mon, 18 Jan 2010 10:51:07 -0500
    Message-ID: <29af5e2d1001180751l7cf79a3ay929cef1deb9ed063@mail.gmail.com>
    Subject: Re: [armedbear-devel] translate-logical-pathname and :wild-inferiors 
    regression
    From: Alan Ruttenberg <alanruttenberg@gmail.com>
    |#
    (progn
      (setf (logical-pathname-translations "ido") 
            '((#P"IDO:IDO-CORE;**;*.*" 
               #P"/Users/alanr/repos/infectious-disease-ontology/trunk/src/ontology/ido-core/**/*.*") 
              (#P"IDO:IMMUNOLOGY;**;*.*"
               #P"/Users/alanr/repos/infectious-disease-ontology/trunk/src/ontology/immunology/**/*.*") 
              (#P"IDO:TOOLS;**;*.*" 
               #P"/Users/alanr/repos/infectious-disease-ontology/trunk/src/tools/**/*.*") 
              (#P"IDO:LIB;**;*.*"
               #P"/Users/alanr/repos/infectious-disease-ontology/trunk/lib/**/*.*")))
      (translate-pathname #P"IDO:IMMUNOLOGY;" #P"IDO:IMMUNOLOGY;**;*.*" 
                          #P"/Users/alanr/repos/infectious-disease-ontology/trunk/src/ontology/**/*.*"))
  #P"/users/alanr/repos/infectious-disease-ontology/trunk/src/ontology/immunology/")

Change History (3)

comment:1 Changed 15 years ago by Mark Evenson

Owner: changed from somebody to Mark Evenson
Status: newassigned

Error was introduced with [svn r12283] Fix logical pathname translation issue reported by Thomas Russ.

We should add a test for the original change as well to the test suite.

comment:3 Changed 15 years ago by Mark Evenson

Resolution: fixed
Status: assignedclosed

Fixed in r12147 as suggest by Alan Ruttenburg.

My analysis of what was broken was incorrect, so the tests have been adjusted as well.

Note: See TracTickets for help on using tickets.