On Thu, 2008-09-04 at 15:42 -0500, Serge E. Hallyn wrote:
> Quoting Matt Helsley ([EMAIL PROTECTED]):
> > Add proper dependencies on check_for_unshare rather than shoehorning it in
> > as a MAKE command in *only* the 'all' target.
> > 
> > Signed-off-by: Matt Helsley <[EMAIL PROTECTED]>
> 
> Oh.  Heh, I couldn't quite tell what you were doing when I looked at it
> this morning.
> 
> Acked-by: Serge Hallyn <[EMAIL PROTECTED]>

Merged-By: Subrata Modak <[EMAIL PROTECTED]>

> 
> > Cc: Veerendra Chandrappa <[EMAIL PROTECTED]>
> > Cc: Sudhir Kumar15 <[EMAIL PROTECTED]>
> > Cc: Subrata Modak <[EMAIL PROTECTED]>
> > Cc: Serge E. Hallyn <[EMAIL PROTECTED]>
> > ---
> >  testcases/kernel/containers/Makefile |    9 ++++-----
> >  1 file changed, 4 insertions(+), 5 deletions(-)
> > 
> > Index: ltp-intermediate-20080820/testcases/kernel/containers/Makefile
> > ===================================================================
> > --- ltp-intermediate-20080820.orig/testcases/kernel/containers/Makefile
> > +++ ltp-intermediate-20080820/testcases/kernel/containers/Makefile
> > @@ -20,19 +20,18 @@
> > 
> >  SUBDIRS = libclone utsname sysvipc pidns
> > 
> > -all:
> > -   @set -e; $(MAKE) check_for_unshare; \
> > -   if './check_for_unshare' > /dev/null 2>&1; then \
> > +all: check_for_unshare
> > +   @set -e; if './check_for_unshare' > /dev/null 2>&1; then \
> >             for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done \
> >     else echo "system does not support unshare"; true; fi
> > 
> > -noltp noltp_check:
> > +noltp noltp_check: check_for_unshare
> >     @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
> > 
> >  check_for_unshare: check_for_unshare.c
> >     $(CC) -o $@ $< ../../../lib/tst_kvercmp.c -I../../../include
> > 
> > -install:
> > +install: check_for_unshare
> >     @set -e; ln -f check_for_unshare ../../bin/check_for_unshare; \
> >     ln -f container_test.sh ../../bin/container_test.sh; \
> >     if './check_for_unshare' > /dev/null 2>&1; then \
> > 
> > -- 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to