Hi Cyril, On 06/16/2014 10:05 PM, chru...@suse.cz wrote: > Hi! >>> >> >> Yeah, this function will be used. >> For rename(2) or renameat(2)'s EMLINK test, the manpage sasys that: >> EMLINK The file named by old is a directory, and the link count of the >> parent directory of new would exceed {LINK_MAX}. >> We need to use tst_fs_fill_subdirs() to construct the condition. > > Ok, I will push (slightly modified version). > > I did a few small changes: > > * it creates the directory automatically if it does not exist > > * uses tst_resm() instead of printf() > > * changed the file/directory numbering to start from 0 > which simplifies the code a bit > > * added two simple tests under lib/tests/
Thanks very much for your modification. It really looks better than my v2 version, especially for the new comments in include/test.h, it is more neater, thanks. Regards, Xiaoguang Wang > ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list