Date: Fri, 29 Jun 2007 09:19:39 GMT From: Zhouyi ZHOU <zhouzhouyi@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 122524 for review Message-ID: <200706290919.l5T9Jd11002815@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122524 Change 122524 by zhouzhouyi@zhouzhouyi_mactest on 2007/06/29 09:19:07 The MAC check for mkdir system calls Affected files ... .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/mactest.c#5 edit .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/misc.sh#3 edit .. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/open/00.t#1 add Differences ... ==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/mactest.c#5 (text+ko) ==== @@ -758,7 +758,10 @@ } fprintf(stderr, " with labels:"); while (tmp2) { - fprintf(stderr, " %s", tmp2->labelstring); + if (!strcmp("*",tmp2->labelstring)) + fprintf(stderr, " any"); + else + fprintf(stderr, " %s", tmp2->labelstring); tmp2 = tmp2->prev; } fprintf(stderr, "\n"); ==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/misc.sh#3 (text+ko) ==== @@ -4,7 +4,7 @@ pid=0 pid_file="`pwd`/pidfile" tmp_file="`pwd`/tmp" - +mactest_conf="`pwd`/mactest.conf" echo ${dir} | egrep '^/' >/dev/null 2>&1 if [ $? -eq 0 ]; then @@ -82,3 +82,9 @@ { pid=`cat ${pid_file}` } + + +namegen() +{ + echo "mactest_`dd if=/dev/random bs=1k count=1 2>/dev/null | openssl md5`" +}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706290919.l5T9Jd11002815>