# Like test 2, but use ASHMEM_PURGE_ALL_CACHES ioctl instead.
# Make sure that purge returns 500 pages.

getpages 1000
unpin 0 100
unpin 200 300
unpin 400 500
unpin 600 700
unpin 800 900
purge
pin 0 100
pin 100 200
pin 200 300
pin 300 400
pin 400 500
pin 500 600
pin 600 700
pin 700 800
pin 800 900
pin 900 1000
