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

Clint Adams schizo at debian.org
Sat Jan 5 19:48:46 CET 2008


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