INN commit: trunk/tests/util (inndf.t)
INN Commit
rra at isc.org
Wed Jul 31 17:10:11 UTC 2013
Date: Wednesday, July 31, 2013 @ 10:10:11
Author: iulius
Revision: 9515
consider that NetBSD behaves like FreeBSD for "df -i"
Fix the test suite for inndf on NetBSD systems.
Modified:
trunk/tests/util/inndf.t
---------+
inndf.t | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: inndf.t
===================================================================
--- inndf.t 2013-07-30 20:13:01 UTC (rev 9514)
+++ inndf.t 2013-07-31 17:10:11 UTC (rev 9515)
@@ -56,7 +56,8 @@
if df -i . > /dev/null 2>&1 ; then
if [ -z "${UNAME_SYSTEM##IRIX[[:alnum:]]*}" ] ; then
real=`df -i . | sed 1d | awk '{ print $8 }'`
- elif [ "${UNAME_SYSTEM}" = "FreeBSD" ] ; then
+ elif [ "${UNAME_SYSTEM}" = "FreeBSD" ] \
+ || [ "${UNAME_SYSTEM}" = "NetBSD" ] ; then
real=`df -i . | sed 1d | awk '{ print $7 }'`
else
real=`df -i . | sed 1d | awk '{ print $4 }'`
More information about the inn-committers
mailing list