summaryrefslogtreecommitdiff
path: root/lib/ts_bm.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2021-04-27 03:31:38 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-26 05:28:25 -0400
commitd4787579d2133370ab47963c6527e79731df5b2a (patch)
treea3bae38c312e49f665e96a7caddcbaff5ab795f4 /lib/ts_bm.c
parent10dbdf98acd620f376313b85b587c9b9563fc170 (diff)
selftests: kvm: Fix the check of return value
In vm_vcpu_rm() and kvm_vm_release(), a stale return value is checked in TEST_ASSERT macro. Fix it by assigning variable ret with correct return value. Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Message-Id: <20210426193138.118276-1-zhenzhong.duan@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/ts_bm.c')
0 files changed, 0 insertions, 0 deletions