Source-Changes-HG archive

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

[src/trunk]: src/regress/sys/fs/lfs/newfs_fsck Make the test a little less de...



details:   https://anonhg.NetBSD.org/src/rev/9954b08caf47
branches:  trunk
changeset: 542443:9954b08caf47
user:      perseant <perseant%NetBSD.org@localhost>
date:      Wed Jan 29 05:39:41 2003 +0000

description:
Make the test a little less demanding (write 800k files instead of 1600k).

diffstat:

 regress/sys/fs/lfs/newfs_fsck/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r cf7f21983e45 -r 9954b08caf47 regress/sys/fs/lfs/newfs_fsck/Makefile
--- a/regress/sys/fs/lfs/newfs_fsck/Makefile    Wed Jan 29 04:56:16 2003 +0000
+++ b/regress/sys/fs/lfs/newfs_fsck/Makefile    Wed Jan 29 05:39:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2003/01/29 04:56:17 perseant Exp $
+#      $NetBSD: Makefile,v 1.2 2003/01/29 05:39:41 perseant Exp $
 
 NOMAN= # defined
 
@@ -37,7 +37,7 @@
        fsck_lfs -n ${CVND}${MPART}
        mkdir ${TMPMP}
        mount -t lfs ${BVND}${MPART} ${TMPMP}
-       dd if=/dev/zero of=${TMPMP}/zero bs=16384 count=100
+       for i in 0 1 2 3 4 5 6 7 8 9; do dd if=/dev/zero of=${TMPMP}/zero bs=16384 count=50; sync; done
        umount ${TMPMP}
        @echo "***  Checking that kernel write could be understood by fsck_lfs"
        fsck_lfs -n ${CVND}${MPART}
@@ -46,5 +46,6 @@
 clean:
        -umount ${TMPMP}
        vnconfig -u ${BVND}${RPART}
+       rmdir ${TMPMP}
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index