1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

use shutdown in more tests

(This used to be ctdb commit 150153947b959f90991fdae8d7c85ef8d551dff5)
This commit is contained in:
Andrew Tridgell 2007-04-18 15:27:38 +10:00
parent 7060030889
commit 0029883c0b
3 changed files with 7 additions and 4 deletions

View File

@ -259,6 +259,7 @@ int main(int argc, const char *argv[])
bench_ring(ctdb, ev);
/* shut it down */
talloc_free(ctdb);
ctdb_shutdown(ctdb);
return 0;
}

View File

@ -247,7 +247,8 @@ int main(int argc, const char *argv[])
printf("DATA:\n%s\n", (char *)call.reply_data.dptr);
/* shut it down */
talloc_free(ctdb);
/* go into a wait loop to allow other nodes to complete */
ctdb_shutdown(ctdb);
return 0;
}

View File

@ -141,6 +141,7 @@ int main(int argc, const char *argv[])
}
/* shut it down */
talloc_free(ctdb);
ctdb_shutdown(ctdb);
return 0;
}