24 lines
570 B
Plaintext
24 lines
570 B
Plaintext
# $NetBSD: tests,v 1.1 1999/05/11 19:14:50 drochner Exp $
|
|
|
|
#fill up an extent, should coalesce into one allocation
|
|
extent test1 0 0x4f
|
|
alloc_region 0x00 0x10
|
|
alloc_region 0x20 0x10
|
|
alloc_region 0x40 0x10
|
|
alloc_region 0x10 0x10
|
|
alloc_subregion 0 0x4f 0x10
|
|
print
|
|
|
|
#check whether subregion is obeyed (PR kern/7539)
|
|
extent test2 0 0x2f EX_NOCOALESCE
|
|
alloc_region 0x00 0x10
|
|
alloc_subregion 0x20 0x30 0x10
|
|
print
|
|
|
|
#check overlap into subregion (fixed in 1.25)
|
|
extent test3 0 0x3f EX_NOCOALESCE
|
|
alloc_region 0x00 0x20
|
|
alloc_region 0x30 0x10
|
|
alloc_subregion 0x10 0x3f 0x10
|
|
print
|