Comment 18 for bug 1853506

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

I'm changing it to:

    ubuntu: convert ndctl/test into qa-regression-ndctl tests

    Adding regression tests based in existing upstream tests. While upstream
    is worried about testing the entire pmem/dax stack (including kernel
    libnvdimm using a mocked driver) our need is much simpler: to guarantee
    the userland tool is good. This patch creates an autopkgtests with the
    most important upstream tests to satisfy the need.

    These tests were developed and tested using qemu emulated nvdimms
    (https://github.com/qemu/qemu/blob/master/docs/nvdimm.txt), so a file
    called "vm-example.xml" is provided.

    Tests may also work with the kernel emulation: https://docs.pmem.io/
    getting-started-guide/creating-development-environments/linux-
    environments/linux-memmap), but need more tests, as the kernel emulated
    option does not provide labels AND Ubuntu kernel has by default
    CONFIG_RANDOMIZE_BASE=y and that might cause kernel to interfere in
    memory previously reserved for persistent memory.

So it is more accurate!

Thanks! let me know if you have any other suggestions please.