Re: Bug#459049: bogofilter: FTBFS with dash: ../../../src/tests/t.grftest: 83: cannot open ../../../src/tests/inputs/msg.?.txt: No such file
Clint Adams <[email protected]> Sat, 5 Jan 2008 13:48:46 -0500
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Message-ID | <[email protected]> |
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. _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev