Date: Tue, 4 Sep 2007 07:25:45 GMT From: Zhouyi ZHOU <zhouzhouyi@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 126031 for review Message-ID: <200709040725.l847PjB7001735@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126031 Change 126031 by zhouzhouyi@zhouzhouyi_mactest on 2007/09/04 07:25:22 Add mmap test cases Affected files ... .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/Makefile#10 edit .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/mmaptest.c#1 add .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/semtest.c#3 edit .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/misc.sh#20 edit .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/mmap/00.t#1 add Differences ... ==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/Makefile#10 (text+ko) ==== @@ -7,7 +7,7 @@ #CFLAGS+=-DHAS_STAT64 all: macproc mactest mdconfigopenrdonly fifo_io pipe_io macping shmtest \ - semtest msgtest + semtest msgtest mmaptest macproc: macproc.c gcc -Wall ${CFLAGS} macproc.c -o macproc -lutil @@ -29,9 +29,10 @@ gcc ${CFLAGS} -o semtest semtest.c macconf.c mactestparser.tab.c msgtest: msgtest.c macconf.c mactestparser.tab.c 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 - clean: rm -f macproc rm -f mactest @@ -41,4 +42,5 @@ rm -f macping rm -f shmtest rm -f semtest - rm -f msgtest+ rm -f msgtest + rm -f mmaptest ==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/semtest.c#3 (text+ko) ==== @@ -413,6 +413,7 @@ if (semctl(sender_semid, 0, IPC_RMID) == -1) warn("semctl IPC_RMID"); close(logfd); + machookmatch(macconf_file, getpid()); } } ==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/misc.sh#20 (text+ko) ==== @@ -24,6 +24,7 @@ shmtest="${maindir}/shmtest" semtest="${maindir}/semtest" msgtest="${maindir}/msgtest" +mmaptest="${maindir}/mmaptest" . ${maindir}/tests/conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709040725.l847PjB7001735>