Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2007 06:52:58 GMT
From:      Zhouyi ZHOU <zhouzhouyi@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125392 for review
Message-ID:  <200708200652.l7K6qwIq066897@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125392

Change 125392 by zhouzhouyi@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 */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708200652.l7K6qwIq066897>