public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Hushan Jia <hjia@redhat.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP]  [PATCH] network: fix nfs testcases Makefile error
Date: Thu, 24 Sep 2009 16:23:52 +0800	[thread overview]
Message-ID: <4ABB2C98.4090403@redhat.com> (raw)

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

             reply	other threads:[~2009-09-24  8:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-24  8:23 Hushan Jia [this message]
2009-09-27 18:14 ` [LTP] [PATCH] network: fix nfs testcases Makefile error Subrata Modak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ABB2C98.4090403@redhat.com \
    --to=hjia@redhat.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox