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

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Aug 9 17:40:59 UTC 2010


Author: pjd
Date: Mon Aug  9 17:40:59 2010
New Revision: 211109
URL: http://svn.freebsd.org/changeset/base/211109

Log:
  Fix file system type detection on Solaris.

Modified:
  head/tools/regression/fstest/tests/conf

Modified: head/tools/regression/fstest/tests/conf
==============================================================================
--- head/tools/regression/fstest/tests/conf	Mon Aug  9 17:37:29 2010	(r211108)
+++ head/tools/regression/fstest/tests/conf	Mon Aug  9 17:40:59 2010	(r211109)
@@ -13,7 +13,7 @@ FreeBSD|Darwin)
 	;;
 Solaris|SunOS)
 	GREP=ggrep
-	pattern=`df -k . | tail -1 | awk '{printf("%s on %s \n", $1, $6)}'`
+	pattern=`df -Pk . | tail -1 | awk '{printf("%s on %s \n", $1, $6)}'`
 	fs=`mount -v | ${GREP} -E "^${pattern}" | awk '{print $5}' | \
 	    tr -s '[:lower:]' '[:upper:]'`
 	;;


More information about the svn-src-head mailing list