PERFORCE change 129281 for review

Zhouyi ZHOU zhouzhouyi at FreeBSD.org
Tue Nov 20 01:47:05 PST 2007


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

Change 129281 by zhouzhouyi at zhouzhouyi_mactest on 2007/11/20 09:46:19

	style modification

Affected files ...

.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/link/00.t#8 edit
.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/link/01.t#8 edit

Differences ...

==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/link/00.t#8 (text+ko) ====

@@ -17,8 +17,10 @@
 
 	mac_mls_support=`sysctl -n security.mac.mls.enabled 2>/dev/null`
 	mac_biba_support=`sysctl -n security.mac.biba.enabled 2>/dev/null`
+	mac_test_support=`sysctl -n security.mac.test.pseudoinit 2>/dev/null`
 
-	if [ "${mac_mls_support}" != "" ] && [ "${mac_biba_support}" != "" ] ; then
+	if [ "${mac_mls_support}" != "" ] && [ "${mac_biba_support}" != "" ] &&
+	    [ "${mac_test_support}" != "" ]; then
 
 		echo "1..10"
 #turn off all the switches first

==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/tests/link/01.t#8 (text+ko) ====

@@ -16,8 +16,10 @@
 
 	mac_mls_support=`sysctl -n security.mac.mls.enabled 2>/dev/null`
 	mac_biba_support=`sysctl -n security.mac.biba.enabled 2>/dev/null`
+	mac_test_support=`sysctl -n security.mac.test.pseudoinit 2>/dev/null`
 
-	if [ "${mac_mls_support}" != "" ] && [ "${mac_biba_support}" != "" ] ; then
+	if [ "${mac_mls_support}" != "" ] && [ "${mac_biba_support}" != "" ] &&
+	    [ "${mac_test_support}" != "" ]; then
 
 #turn off all the switches
 		for i in `sysctl security.mac | grep "\.enabled"| 


More information about the p4-projects mailing list