Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/fs/cd9660 Update disk-space-available requirement to m...



details:   https://anonhg.NetBSD.org/src/rev/41e05d34cf1a
branches:  trunk
changeset: 797172:41e05d34cf1a
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Jul 07 22:06:02 2014 +0000

description:
Update disk-space-available requirement to match reality, and leave a
little extra just in case.  The test file is much larger than previously
indicated.

Thanks martin@ for detailed investigation.

diffstat:

 tests/fs/cd9660/t_high_ino_big_file.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 90f6819aa9c0 -r 41e05d34cf1a tests/fs/cd9660/t_high_ino_big_file.sh
--- a/tests/fs/cd9660/t_high_ino_big_file.sh    Mon Jul 07 20:21:31 2014 +0000
+++ b/tests/fs/cd9660/t_high_ino_big_file.sh    Mon Jul 07 22:06:02 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_high_ino_big_file.sh,v 1.3 2014/06/08 13:45:14 pgoyette Exp $
+# $NetBSD: t_high_ino_big_file.sh,v 1.4 2014/07/07 22:06:02 pgoyette Exp $
 #
 # Copyright (c) 2014 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -77,8 +77,8 @@
 
 pr_kern_48787_body() {
        avail=$( df -Pk . | awk '{if (NR==2) print $4}' )
-       if [ $avail -lt 2250000 ]; then
-               atf_skip "not enough free disk space, have ${avail} Kbytes, need ~ 2250000 Kbytes"
+       if [ $avail -lt 4500000 ]; then
+               atf_skip "not enough free disk space, have ${avail} Kbytes, need ~ 4500000 Kbytes"
        fi
        bunzip2 < $(atf_get_srcdir)/pr_48787.image.bz2 > pr_48787.image
        mntpnt=$(pwd)/mnt



Home | Main Index | Thread Index | Old Index