Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/regress/sys/kern/extent Pull up rev. 1.5:
details: https://anonhg.NetBSD.org/src/rev/346cdbb79092
branches: netbsd-1-5
changeset: 488417:346cdbb79092
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Jul 03 22:55:04 2000 +0000
description:
Pull up rev. 1.5:
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 c98b669e0e35 -r 346cdbb79092 regress/sys/kern/extent/extest.exp
--- a/regress/sys/kern/extent/extest.exp Mon Jul 03 22:53:01 2000 +0000
+++ b/regress/sys/kern/extent/extest.exp Mon Jul 03 22:55:04 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: extest.exp,v 1.2.2.2 2000/06/29 23:52:33 thorpej Exp $
+# $NetBSD: extest.exp,v 1.2.2.3 2000/07/03 22:55:04 thorpej 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 c98b669e0e35 -r 346cdbb79092 regress/sys/kern/extent/tests
--- a/regress/sys/kern/extent/tests Mon Jul 03 22:53:01 2000 +0000
+++ b/regress/sys/kern/extent/tests Mon Jul 03 22:55:04 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tests,v 1.2.2.2 2000/06/29 23:52:34 thorpej Exp $
+# $NetBSD: tests,v 1.2.2.3 2000/07/03 22:55:04 thorpej 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