summaryrefslogtreecommitdiffstats
path: root/vpnor/test/write_rw.cpp
Commit message (Collapse)AuthorAgeFilesLines
* test: vpnor: Use MAP_SHARED for read-only file memory mapAndrew Jeffery2018-04-041-1/+1
| | | | | | | | | | | | It's not well defined whether a private mapping of a resource that is MAP_SHARED on a separate file descriptor will see the updates done via the shared mapping, though under Linux if the private mapping is not written then we can expect updates from the shared mapping to propagate (copy-on-write). However, we get a concrete guarantee of the desired behaviour (observing the effects of the write) if we use MAP_SHARED. Change-Id: If6a053209a979ee5b96ed09c60fbbd9bdb060a32 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* test: Move vpnor tests to vpnor directoryAndrew Jeffery2018-04-041-0/+97
In the spirit of things that are together should be kept together. The repository layout now better corresponds to upstream with the exception of the vpnor directory and some modifications to Makefile.am Change-Id: I16d59a3c9ee846065f6a8c83eb4459715d525f3f Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
OpenPOWER on IntegriCloud