qtest: don't use system command to avoid double fork
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Apr 2013 14:45:15 +0000 (09:45 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 17 Apr 2013 15:26:04 +0000 (10:26 -0500)
commit8a8fd63734944bf6f7111596bd9cc9db6afb9b7c
tree28daeaa6f07435d6c6f066309d58238a1b2bbc75
parent4aead69241e010c3cda624084e3872aa9f7dcaef
qtest: don't use system command to avoid double fork

Currently we waitpid on the child process we spawn off that does
nothing more than system() another process.  While this does not
appear to be incorrect, it's wasteful and confusing so get rid of
it.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1366123521-4330-2-git-send-email-aliguori@us.ibm.com
tests/libqtest.c