PERFORCE change 125392 for review

Zhouyi ZHOU zhouzhouyi at FreeBSD.org
Sun Aug 19 23:52:59 PDT 2007


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

Change 125392 by zhouzhouyi at zhouzhouyi_mactest on 2007/08/20 06:52:20

	test program for sysvshm

Affected files ...

.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/Makefile#7 edit
.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/mactest.h#4 edit
.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/shmtest.c#1 add

Differences ...

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

@@ -6,7 +6,7 @@
 #CFLAGS+=-DHAS_TRUNCATE64
 #CFLAGS+=-DHAS_STAT64
 
-all:	macproc mactest mdconfigopenrdonly fifo_io pipe_io macping
+all:	macproc mactest mdconfigopenrdonly fifo_io pipe_io macping shmtest
 
 macproc:	macproc.c
 	gcc -Wall ${CFLAGS} macproc.c -o macproc -lutil
@@ -22,6 +22,8 @@
 macping: macping.c macconf.c mactestparser.tab.c
 	gcc ${CFLAGS} -o macping macping.c macconf.c mactestparser.tab.c
 	chmod 4555 macping
+shmtest: shmtest.c  macconf.c mactestparser.tab.c
+	gcc ${CFLAGS} -o shmtest shmtest.c macconf.c mactestparser.tab.c
 
 clean:
 	rm -f macproc
@@ -30,3 +32,4 @@
 	rm -f fifo_io
 	rm -f pipe_io
 	rm -f macping
+	rm -f shmtest

==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/mactest.h#4 (text+ko) ====

@@ -58,5 +58,6 @@
 int label_compare(char *conf, char *log);
 int labelstrings_compare(struct labelstrings *ls_conf, struct labelstrings *ls_log);
 void machookmatch(const char *macconf_file, pid_t pid);
+#define BEGINLOG _IO('m',1)
 #endif /* !_REGRESSION_MAC_TEST__H */
 


More information about the p4-projects mailing list