Add a test to check whether allocation succeeds beyond the last boundary
line in case the last boundary does not coincide with the extent end.
This commit is contained in:
parent
61d1fe8df3
commit
8205ce2a01
@ -1,4 +1,4 @@
|
||||
# $NetBSD: extest.exp,v 1.2 2000/06/16 18:50:46 drochner Exp $
|
||||
# $NetBSD: extest.exp,v 1.3 2000/06/27 21:08:30 pk Exp $
|
||||
# real output must start in line 4
|
||||
|
||||
output for test1
|
||||
@ -25,3 +25,9 @@ output for test5
|
||||
result: 0xf0000000
|
||||
extent `test5' (0xf0000000 - 0xffffffff), flags = 0x0
|
||||
0xf0000000 - 0xf0000000
|
||||
output for test6
|
||||
result: 0x0
|
||||
result: 0x8
|
||||
result: 0xa
|
||||
extent `test6' (0x0 - 0xc), flags = 0x0
|
||||
0x0 - 0xb
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: tests,v 1.2 2000/06/16 18:50:46 drochner Exp $
|
||||
# $NetBSD: tests,v 1.3 2000/06/27 21:08:31 pk Exp $
|
||||
|
||||
#fill up an extent, should coalesce into one allocation
|
||||
extent test1 0 0x4f
|
||||
@ -34,3 +34,11 @@ extent test5 0xf0000000 0xffffffff
|
||||
boundary 0x20000000
|
||||
alloc_subregion 0xf0000000 0xffffffff 0x1
|
||||
print
|
||||
|
||||
#check allocation beyond last boundary line (to be fixed)
|
||||
extent test6 0 12
|
||||
boundary 8
|
||||
alloc_subregion 0 12 8
|
||||
alloc_subregion 0 12 2
|
||||
alloc_subregion 0 12 2
|
||||
print
|
||||
|
Loading…
Reference in New Issue
Block a user