Skip to contentSkip to conversation

network: fix nfs testcases Makefile error

PATCH In review Hushan Jia 2 participants 2 messages Sep 24, 2009 – Sep 27, 2009

lore
Share & tools
lore

Hushan Jia

author
#0 lore raw

PATCH 1/1 network: fix nfs testcases Makefile error

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

testcases/network/nfs/nfslock01/Makefile renamed from testcases/network/nfs/nfslock01/Makefile.orig +4 -0
@@ -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)
 
testcases/network/nfs/nfsstress/Makefile renamed from testcases/network/nfs/nfsstress/Makefile.orig +1 -0
@@ -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® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 6 lines · Hushan Jia

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.

Quoted 8 lines

Thanks & Regards,
Hushan

---

network: fix nfslock01 and nfsstress Makefile error

Thanks.

Regards--
Subrata

Quoted 24 lines
testcases/network/nfs/nfslock01/Makefile renamed from testcases/network/nfs/nfslock01/Makefile.orig +4 -0
@@ -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)
 

testcases/network/nfs/nfsstress/Makefile all: $(TARGETS) · line 14

Quoted 7 lines
testcases/network/nfs/nfsstress/Makefile renamed from testcases/network/nfs/nfsstress/Makefile.orig +1 -0
@@ -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® 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-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list