]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virpcimock: Eliminate use of @fakesysfspcidir
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Aug 2019 08:37:08 +0000 (10:37 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 17 Aug 2019 09:27:43 +0000 (11:27 +0200)
commit2a0909484b170fcec094af2149b048114b7a82d2
tree1f5dc780168ffb8261a29ffc492a7c3cdc1814dd
parentea893afaf84861547572bb9c8d2ba0c7edc90888
virpcimock: Eliminate use of @fakesysfspcidir

The @fakesysfspcidir is derived from @fakerootdir. We don't need
two global variables that contain nearly the same content,
especially when we construct the actual path anyways.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
tests/virpcimock.c