PERFORCE change 126172 for review

Zhouyi ZHOU zhouzhouyi at FreeBSD.org
Sat Sep 8 01:18:35 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=126172

Change 126172 by zhouzhouyi at zhouzhouyi_mactest on 2007/09/08 08:17:53

	Mandatory Access Control - Test case for bpf

Affected files ...

.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/Makefile#11 edit
.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tcpconnect.c#1 add
.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/bpf/00.t#1 add
.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/misc.sh#21 edit

Differences ...

==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/Makefile#11 (text+ko) ====

@@ -7,7 +7,7 @@
 #CFLAGS+=-DHAS_STAT64
 
 all:	macproc mactest mdconfigopenrdonly fifo_io pipe_io macping shmtest \
-	semtest msgtest mmaptest
+	semtest msgtest mmaptest tcpconnect
 
 macproc:	macproc.c
 	gcc -Wall ${CFLAGS} macproc.c -o macproc -lutil
@@ -31,6 +31,8 @@
 	gcc ${CFLAGS} -o msgtest msgtest.c macconf.c mactestparser.tab.c
 mmaptest: mmaptest.c macconf.c mactestparser.tab.c
 	gcc ${CFLAGS} -o mmaptest mmaptest.c macconf.c mactestparser.tab.c
+tcpconnect: tcpconnect.c 
+	gcc ${CFLAGS} -o tcpconnect tcpconnect.c macconf.c mactestparser.tab.c -lpcap
 
 
 clean:
@@ -43,4 +45,5 @@
 	rm -f shmtest
 	rm -f semtest
 	rm -f msgtest
-	rm -f mmaptest+	rm -f mmaptest
+	rm -f tcpconnect
==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/misc.sh#21 (text+ko) ====

@@ -25,6 +25,7 @@
 semtest="${maindir}/semtest"
 msgtest="${maindir}/msgtest"
 mmaptest="${maindir}/mmaptest"
+tcpconnect="${maindir}/tcpconnect"
 
 . ${maindir}/tests/conf
 


More information about the p4-projects mailing list