svn commit: r210971 - head/tools/regression/fstest/tests

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Aug 6 21:56:32 UTC 2010


Author: pjd
Date: Fri Aug  6 21:56:32 2010
New Revision: 210971
URL: http://svn.freebsd.org/changeset/base/210971

Log:
  Check first todo() argument against operating system name and operating system
  name plus file system name.

Modified:
  head/tools/regression/fstest/tests/misc.sh

Modified: head/tools/regression/fstest/tests/misc.sh
==============================================================================
--- head/tools/regression/fstest/tests/misc.sh	Fri Aug  6 21:53:50 2010	(r210970)
+++ head/tools/regression/fstest/tests/misc.sh	Fri Aug  6 21:56:32 2010	(r210971)
@@ -87,8 +87,7 @@ test_check()
 
 todo()
 {
-	echo "${os}" | $GREP -iq "${1}"
-	if [ $? -eq 0 ]; then
+	if [ "${os}" = "${1}" -o "${os}:${fs}" = "${1}" ]; then
 		todomsg="${2}"
 	fi
 }


More information about the svn-src-all mailing list