Source-Changes-HG archive

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

[src/trunk]: src/regress/sys/kern/extent test 6 & 7: make the extent have the...



details:   https://anonhg.NetBSD.org/src/rev/1f2e0d6b7c38
branches:  trunk
changeset: 494147:1f2e0d6b7c38
user:      pk <pk%NetBSD.org@localhost>
date:      Sun Jul 02 22:36:50 2000 +0000

description:
test 6 & 7: make the extent have the intended total of size 12 (noticed
by Matthias Drochner).

diffstat:

 regress/sys/kern/extent/extest.exp |   6 +++---
 regress/sys/kern/extent/tests      |  16 ++++++++--------
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (58 lines):

diff -r 13a2fb7e67ef -r 1f2e0d6b7c38 regress/sys/kern/extent/extest.exp
--- a/regress/sys/kern/extent/extest.exp        Sun Jul 02 22:27:47 2000 +0000
+++ b/regress/sys/kern/extent/extest.exp        Sun Jul 02 22:36:50 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: extest.exp,v 1.4 2000/06/27 21:30:03 pk Exp $
+# $NetBSD: extest.exp,v 1.5 2000/07/02 22:36:50 pk Exp $
 # real output must start in line 4
 
 output for test1
@@ -29,11 +29,11 @@
 result: 0x0
 result: 0x8
 result: 0xa
-extent `test6' (0x0 - 0xc), flags = 0x0
+extent `test6' (0x0 - 0xb), flags = 0x0
      0x0 - 0xb
 output for test7
 result: 0x0
 result: 0x8
-extent `test7' (0x0 - 0xc), flags = 0x0
+extent `test7' (0x0 - 0xb), flags = 0x0
      0x0 - 0x6
      0x8 - 0xb
diff -r 13a2fb7e67ef -r 1f2e0d6b7c38 regress/sys/kern/extent/tests
--- a/regress/sys/kern/extent/tests     Sun Jul 02 22:27:47 2000 +0000
+++ b/regress/sys/kern/extent/tests     Sun Jul 02 22:36:50 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tests,v 1.4 2000/06/27 21:30:03 pk Exp $
+# $NetBSD: tests,v 1.5 2000/07/02 22:36:50 pk Exp $
 
 #fill up an extent, should coalesce into one allocation
 extent test1 0 0x4f
@@ -37,18 +37,18 @@
 
 #check allocation beyond last boundary line (to be fixed)
 # last two allocations should succeed without boundary "fixups"
-extent test6 0 12
+extent test6 0 11
 boundary 8
-alloc_subregion 0 12 8
-alloc_subregion 0 12 2
-alloc_subregion 0 12 2
+alloc_subregion 0 11 8
+alloc_subregion 0 11 2
+alloc_subregion 0 11 2
 print
 
 #check allocation beyond last boundary line (to be fixed)
 # last allocation should be bumped to the next boundary and exactly fit
 # the remaining space
-extent test7 0 12
+extent test7 0 11
 boundary 8
-alloc_subregion 0 12 7
-alloc_subregion 0 12 4
+alloc_subregion 0 11 7
+alloc_subregion 0 11 4
 print



Home | Main Index | Thread Index | Old Index