Bruno Haible <[EMAIL PROTECTED]> wrote: > The test embedded in lib/filenamecat.c is not interactive and therefore could > make a good automatic unit test. How about this patch? As a side effect, it > will also verify that filenamecat.h really declares the function. > > 2007-10-11 Bruno Haible <[EMAIL PROTECTED]> > > * modules/filenamecat-tests: New file. > * tests/test-filenamecat.c: New file, extracted from lib/filenamecat.c. > * lib/filenamecat.c: Remove test code.
That looks fine. You're welcome to commit it. Thanks.