summaryrefslogtreecommitdiff
path: root/ashmemtest-expanded/test0.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ashmemtest-expanded/test0.txt')
-rw-r--r--ashmemtest-expanded/test0.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ashmemtest-expanded/test0.txt b/ashmemtest-expanded/test0.txt
new file mode 100644
index 0000000..83c39a9
--- /dev/null
+++ b/ashmemtest-expanded/test0.txt
@@ -0,0 +1,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