Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/fs/cd9660 Convert size check to use 1K blocks (more hu...
details: https://anonhg.NetBSD.org/src/rev/834d08202494
branches: trunk
changeset: 796537:834d08202494
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Jun 08 13:45:14 2014 +0000
description:
Convert size check to use 1K blocks (more human-friendly), and fix
atf_skip message to reference block size rather than bytes.
OK martin@
diffstat:
tests/fs/cd9660/t_high_ino_big_file.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 76c5c5931b1e -r 834d08202494 tests/fs/cd9660/t_high_ino_big_file.sh
--- a/tests/fs/cd9660/t_high_ino_big_file.sh Sun Jun 08 12:12:56 2014 +0000
+++ b/tests/fs/cd9660/t_high_ino_big_file.sh Sun Jun 08 13:45:14 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_high_ino_big_file.sh,v 1.2 2014/05/15 14:53:05 martin Exp $
+# $NetBSD: t_high_ino_big_file.sh,v 1.3 2014/06/08 13:45:14 pgoyette Exp $
#
# Copyright (c) 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -76,9 +76,9 @@
}
pr_kern_48787_body() {
- avail=$( df -P . | awk '{if (NR==2) print $4}' )
- if [ $avail -lt 4500000 ]; then
- atf_skip "not enough free disk space, have ${avail}, need ~ 4500000 bytes"
+ 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"
fi
bunzip2 < $(atf_get_srcdir)/pr_48787.image.bz2 > pr_48787.image
mntpnt=$(pwd)/mnt
Home |
Main Index |
Thread Index |
Old Index