mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
f16ad06fb2
This introduces a new set of APIs in src/util/command.h to use for invoking commands. This is intended to replace all current usage of virRun and virExec variants, with a more flexible and less error prone API. * src/util/command.c: New file. * src/util/command.h: New header. * src/Makefile.am (UTIL_SOURCES): Build it. * src/libvirt_private.syms: Export symbols internally. * tests/commandtest.c: New test. * tests/Makefile.am (check_PROGRAMS): Run it. * tests/commandhelper.c: Auxiliary program. * tests/commanddata/test2.log - test15.log: New expected outputs. * cfg.mk (useless_free_options): Add virCommandFree. (msg_gen_function): Add virCommandError. * po/POTFILES.in: New translation. * .x-sc_avoid_write: Add exemption. * tests/.gitignore: Ignore new built file.
39 lines
533 B
Plaintext
39 lines
533 B
Plaintext
*.exe
|
|
.deps
|
|
.libs
|
|
commandhelper
|
|
commandhelper.log
|
|
commandhelper.pid
|
|
commandtest
|
|
conftest
|
|
esxutilstest
|
|
eventtest
|
|
interfacexml2xmltest
|
|
networkxml2xmltest
|
|
nodedevxml2xmltest
|
|
nodeinfotest
|
|
object-locking
|
|
object-locking-files.txt
|
|
object-locking.cmi
|
|
object-locking.cmx
|
|
qemuargv2xmltest
|
|
qemuhelptest
|
|
qemuxml2argvtest
|
|
qemuxml2xmltest
|
|
qparamtest
|
|
reconnect
|
|
secaatest
|
|
seclabeltest
|
|
sexpr2xmltest
|
|
sockettest
|
|
statstest
|
|
storagepoolxml2xmltest
|
|
storagevolxml2xmltest
|
|
virbuftest
|
|
virshtest
|
|
vmx2xmltest
|
|
xencapstest
|
|
xmconfigtest
|
|
xml2sexprtest
|
|
xml2vmxtest
|