Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Fix fd leak causing test error
Update the `TestQemuAddDeviceKataVSOCK` test so that it: - Doesn't hard-code the file descriptor number. - Cleans up after itself. The latter issue was causing an odd error similar to the following in the test output: ``` Unable to launch /tmp/vc-tmp-526112270/hypervisor: fork/exec /tmp/vc-tmp-526112270/hypervisor: permission denied ``` Partially fixes: kata-containers#1835. Signed-off-by: James O. D. Hunt <[email protected]>
- Loading branch information