Test multi-target/multi-provider modes
Two tests need to be added:
- Multiple providers: the test should be similar to the copy-to-and-from, but it should
- Create 2 pmem pools instead of 1
- Start the daemon with the two pools as arguments and
-m providers
- Copy something to pool 1 (by specifying 1 as the multiplexing id)
- Copy something else to pool 2 (by specifying 2 as the multiplexing id)
- Read back what was written in pool 1
- Read back what was written in pool 2
- Check that the results are correct
- Multiple targets: the test should be similar to the copy-to-and-from, but it should
- Create 2 pmem pools instead of 1
- Start the daemon with the two pools as arguments and
-m targets
- Copy something to pool 1 (by specifying 1 as the target id)
- Copy something else to pool 2 (by specifying 2 as the target id)
- Read back what was written in pool 1
- Read back what was written in pool 2
- Check that the results are correct