This One also through. Regards-- Subrata
On Wed, 2008-03-26 at 16:51 +0800, wangf wrote: > Hi, > > The ltp-full-20080229/testcases/kernel/module/delete_module/Makefile > will do this: > > @set -e; for i in $(MODULES); do ln -f $$i /tmp/$$i ; done > > If the ltp directory and /tmp are not in the same device, an error > occurs: > ln: creating hard link `/tmp/xxx' => `xxx': Invalid cross-device link > > I suffer from this. > > The patch as follows: > > Signed-off-by: Wang Fang <[EMAIL PROTECTED]> > > --- > > diff -Nrup ltp-full-20080229/testcases/kernel/module/delete_module/Makefile > ltp-full-20080229-new/testcases/kernel/module/delete_module/Makefile > --- ltp-full-20080229/testcases/kernel/module/delete_module/Makefile > 2008-02-29 15:55:43.000000000 +0800 > +++ ltp-full-20080229-new/testcases/kernel/module/delete_module/Makefile > 2008-03-26 14:48:49.000000000 +0800 > @@ -41,7 +41,7 @@ delete_module03: delete_module03.c > > install: > @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; > done > - @set -e; for i in $(MODULES); do ln -f $$i /tmp/$$i ; done > + @set -e; for i in $(MODULES); do cp -f $$i /tmp/$$i ; done > > clean: > rm -f $(TARGETS) > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
