xref: /minix3/minix/tests/safecopy/README (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1Test Program for Safecopy with or without COW
2
3How to run
4==========
5
6Test safecopy with COW:
7  1. Set USE_COW_SAFECOPY to 1 in /usr/src/kernel/system/do_safecopy.c
8  2. Type `make run` to prepare and run test.
9  3. When done testing, type `make clean` to clean up.
10
11Test safecopy without COW:
12  1. Set USE_COW_SAFECOPY to 0 in /usr/src/kernel/system/do_safecopy.c
13  2. Type `make run` to prepare and run test.
14  3. When done testing, type `make clean` to clean up.
15
16If you want to modify the test buffer size:
17  1. Modify TEST_PAGE_NUM in inc.h
18  2. Modify TEST_PAGE_SHIFT in inc.h
19
20