test/app: add missed spdk_env_fini() or spdk_app_fini() when exiting
Change-Id: I9d511713277ea85d34e0a0e59b570fcbfa014fb1 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10911 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
f2aa5435e9
commit
e57252f98a
@ -1085,5 +1085,6 @@ main(int argc, char **argv)
|
||||
|
||||
rc = spdk_app_start(&opts, begin_iscsi_fuzz, NULL);
|
||||
|
||||
spdk_app_fini();
|
||||
return rc;
|
||||
}
|
||||
|
@ -430,5 +430,6 @@ main(int argc, char **argv)
|
||||
|
||||
rc = spdk_app_start(&opts, begin_fuzz, NULL);
|
||||
|
||||
spdk_app_fini();
|
||||
return rc;
|
||||
}
|
||||
|
@ -876,5 +876,6 @@ main(int argc, char **argv)
|
||||
|
||||
rc = spdk_app_start(&opts, begin_fuzz, NULL);
|
||||
|
||||
spdk_app_fini();
|
||||
return rc;
|
||||
}
|
||||
|
@ -1141,5 +1141,8 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
spdk_app_start(&opts, begin_fuzz, NULL);
|
||||
rc = spdk_app_start(&opts, begin_fuzz, NULL);
|
||||
|
||||
spdk_app_fini();
|
||||
return rc;
|
||||
}
|
||||
|
@ -98,5 +98,6 @@ main(int argc, char **argv)
|
||||
printf("count = %ju\n", count);
|
||||
spdk_histogram_data_free(h);
|
||||
|
||||
spdk_env_fini();
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user