summaryrefslogtreecommitdiff
path: root/ashmemtest-expanded/test0.txt
blob: 83c39a9e0e6e5356ef08db4dfb9ab68d79c0d263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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