Bug#459049: bogofilter: FTBFS with dash: ../../../src/tests/t.grftest: 83: cannot open ../../../src/tests/inputs/msg.?.txt: No such file

Gerrit Pape pape at smarden.org
Mon Jan 7 11:25:52 CET 2008


Hi, this is a bug in dash, and will be fixed in 0.5.4-6.  I'll reassign
and close accordingly with the dash package upload.

Thanks, Gerrit.


On Sat, Jan 05, 2008 at 01:48:46PM -0500, Clint Adams wrote:
> On Fri, Jan 04, 2008 at 08:33:24PM -0500, David Relson wrote:
> > Clint,
> > 
> > The test failure involves the following line:
> > 
> >   for msg in "$SYSTEST/inputs/"msg.?.txt ; do
> > 
> > in src/tests/t.grftest.  Since dash-0.5.3-7 handles this fine and
> > dash-0.5.4-7 has trouble with it this seems like a globbing defect in
> > the new version of dash. 
> 
> I couldn't reproduce this before, but now
> 
> $ mkdir /tmp/blah
> $ touch /tmp/blah/blah.1.blah /tmp/blah/blah.2.blah
> $ TEMP=/tmp/blah
> $ ls -l "$TEMP/"blah.?.blah
> ls: /tmp/blah/blah.?.blah: No such file or directory
> 
> It's not entirely clear to me that this is incorrect;
> as I understand it, the order of expansion should be
> 1) expand $TEMP to /tmp/blah
> 2) filename generation on "/tmp/blah/"blah.?.blah
> 3) quote removal
> 
> On the other hand, "$TEMP"/blah.?.blah works.



More information about the bogofilter-dev mailing list