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:
parent
7060030889
commit
0029883c0b
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -141,6 +141,7 @@ int main(int argc, const char *argv[])
|
||||
}
|
||||
|
||||
/* shut it down */
|
||||
talloc_free(ctdb);
|
||||
ctdb_shutdown(ctdb);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user