public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP]  [PATCH] network: fix nfs testcases Makefile error
@ 2009-09-24  8:23 Hushan Jia
  2009-09-27 18:14 ` Subrata Modak
  0 siblings, 1 reply; 2+ messages in thread
From: Hushan Jia @ 2009-09-24  8:23 UTC (permalink / raw)
  To: ltp-list

Hi,

The nfslock01 and nfsstress testcases' Makefile does not link excutables to testcase/bin
directory, and nfslock01 does not build nfs_flock_dgen excutables, which will cause test fail.
This patch add the links and build the nfs_flock_dgen.

Thanks & Regards,
Hushan

---

network: fix nfslock01 and nfsstress Makefile error

Signed-off-by: Hushan Jia <hjia@redhat.com>

--- ltp/testcases/network/nfs/nfslock01/Makefile.orig	2009-09-24 15:54:24.000000000 +0800
+++ ltp/testcases/network/nfs/nfslock01/Makefile	2009-09-24 15:58:31.000000000 +0800
@@ -5,6 +5,7 @@ all: $(TESTS)
 
 install:
 	ln -f nfslock01 ../../../bin
+	ln -f $(TESTS) ../../../bin
 
 nfs_flock:
 	$(CC) $(CFLAGS) $(LDFLAGS) -o nfs_flock nfs_flock.c nfs_flock_func.c
@@ -12,6 +13,9 @@ nfs_flock:
 nfs_flock_frk:
 	$(CC) $(CFLAGS) $(LDFLAGS) -o nfs_flock_frk nfs_flock_frk.c
 
+nfs_flock_dgen:
+	$(CC) $(CFLAGS) $(LDFLAGS) -o nfs_flock_dgen nfs_flock_dgen.c
+
 clean:
 	rm -f $(TESTS)
 
--- ltp/testcases/network/nfs/nfsstress/Makefile.orig	2009-09-24 15:54:12.000000000 +0800
+++ ltp/testcases/network/nfs/nfsstress/Makefile	2009-09-24 15:59:58.000000000 +0800
@@ -8,6 +8,7 @@ all: $(TARGETS)
 
 install:
 	ln -f nfsstress ../../../bin
+	ln -f $(TARGETS) ../../../bin
 
 clean:
 	rm -f $(TARGETS)

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] network: fix nfs testcases Makefile error
  2009-09-24  8:23 [LTP] [PATCH] network: fix nfs testcases Makefile error Hushan Jia
@ 2009-09-27 18:14 ` Subrata Modak
  0 siblings, 0 replies; 2+ messages in thread
From: Subrata Modak @ 2009-09-27 18:14 UTC (permalink / raw)
  To: Hushan Jia; +Cc: ltp-list

On Thu, 2009-09-24 at 16:23 +0800, Hushan Jia wrote: 
> Hi,
> 
> The nfslock01 and nfsstress testcases' Makefile does not link excutables to testcase/bin
> directory, and nfslock01 does not build nfs_flock_dgen excutables, which will cause test fail.
> This patch add the links and build the nfs_flock_dgen.
> 
> Thanks & Regards,
> Hushan
> 
> ---
> 
> network: fix nfslock01 and nfsstress Makefile error
> 
> Signed-off-by: Hushan Jia <hjia@redhat.com>

Thanks.

Regards--
Subrata

> 
> --- ltp/testcases/network/nfs/nfslock01/Makefile.orig	2009-09-24 15:54:24.000000000 +0800
> +++ ltp/testcases/network/nfs/nfslock01/Makefile	2009-09-24 15:58:31.000000000 +0800
> @@ -5,6 +5,7 @@ all: $(TESTS)
> 
>  install:
>  	ln -f nfslock01 ../../../bin
> +	ln -f $(TESTS) ../../../bin
> 
>  nfs_flock:
>  	$(CC) $(CFLAGS) $(LDFLAGS) -o nfs_flock nfs_flock.c nfs_flock_func.c
> @@ -12,6 +13,9 @@ nfs_flock:
>  nfs_flock_frk:
>  	$(CC) $(CFLAGS) $(LDFLAGS) -o nfs_flock_frk nfs_flock_frk.c
> 
> +nfs_flock_dgen:
> +	$(CC) $(CFLAGS) $(LDFLAGS) -o nfs_flock_dgen nfs_flock_dgen.c
> +
>  clean:
>  	rm -f $(TESTS)
> 
> --- ltp/testcases/network/nfs/nfsstress/Makefile.orig	2009-09-24 15:54:12.000000000 +0800
> +++ ltp/testcases/network/nfs/nfsstress/Makefile	2009-09-24 15:59:58.000000000 +0800
> @@ -8,6 +8,7 @@ all: $(TARGETS)
> 
>  install:
>  	ln -f nfsstress ../../../bin
> +	ln -f $(TARGETS) ../../../bin
> 
>  clean:
>  	rm -f $(TARGETS)


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-27 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-24  8:23 [LTP] [PATCH] network: fix nfs testcases Makefile error Hushan Jia
2009-09-27 18:14 ` Subrata Modak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox