From a62c9cdf522ade29220a150e7a9bdfebcc588f1e Mon Sep 17 00:00:00 2001 From: njoly Date: Fri, 29 Oct 2010 14:43:10 +0000 Subject: [PATCH] Add '-n' option to h_df helper tool to avoid picking wrong values if the tested system has a similar mounted file system. Solve PR/43871. --- tests/util/df/t_df.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/util/df/t_df.sh b/tests/util/df/t_df.sh index 7669ecd617ee..0caa2450f52d 100644 --- a/tests/util/df/t_df.sh +++ b/tests/util/df/t_df.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_df.sh,v 1.5 2010/06/10 15:44:44 pooka Exp $ +# $NetBSD: t_df.sh,v 1.6 2010/10/29 14:43:10 njoly Exp $ # # Copyright (c) 2007, 2008 The NetBSD Foundation, Inc. # All rights reserved. @@ -81,7 +81,7 @@ filer:/ 1202716672 1202716672 -180407500 117% /filer /dev/wd0e 10485688 2859932 7625756 27% /mount/windows/C EOF atf_check -s eq:0 -o file:expout -e empty \ - -x "BLOCKSIZE=1k $(atf_get_srcdir)/h_df" + -x "BLOCKSIZE=1k $(atf_get_srcdir)/h_df -n" } atf_test_case hflag @@ -140,7 +140,7 @@ filer:/ 1.1T 1.1T -172G 117% /filer /dev/wd0e 10G 2.7G 7.3G 27% /mount/windows/C EOF atf_check -s eq:0 -o file:expout -e empty \ - -x "BLOCKSIZE=1k $(atf_get_srcdir)/h_df -h" + -x "BLOCKSIZE=1k $(atf_get_srcdir)/h_df -hn" } atf_init_test_cases()