• A
    tests: pcimock: Use the temporary directory as fake root · f94398e7
    Andrea Bolognani 提交于
    We might need to mock files living outside PCI_SYSFS_PREFIX later on,
    so it's better to treat the temporary directory we are passed via
    the environment as the root of the fake filesystem and create
    PCI_SYSFS_PREFIX inside it.
    
    The environment variable name will be changed to reflect the new use
    we're making of it in a later commit.
    f94398e7
virpcimock.c 26.2 KB