# Simple test to make sure that the pages aren't purged initially.
# Expected output is:
#
# -> got 1000 pages
# -> unpin 0..500 OK ret 0
# -> pin 0..500 OK ret 0
#
# Here the last pin operation should return 0 (e.g. ASHMEM_NOT_PURGED).

getpages 1000
unpin 0 500
pin 0 500
