summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/userinfo.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-29 00:46:44 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-29 00:46:44 +0100
commit9370dbfc49f1836f21e946f589c85a0d27ab49fa (patch)
tree72fe1ebf520507554186f0ba9c20a22eaf03efbc /source4/torture/libnet/userinfo.c
parent7e045915205264efdd96d7e55a9e342c2748c93e (diff)
downloadsamba-9370dbfc49f1836f21e946f589c85a0d27ab49fa.tar.gz
samba-9370dbfc49f1836f21e946f589c85a0d27ab49fa.tar.bz2
samba-9370dbfc49f1836f21e946f589c85a0d27ab49fa.zip
Convert to new torture API.
(This used to be commit 40dffc177babec01c63fb717506fa86ff70a5b28)
Diffstat (limited to 'source4/torture/libnet/userinfo.c')
-rw-r--r--source4/torture/libnet/userinfo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c
index e862435d20..11e57f852d 100644
--- a/source4/torture/libnet/userinfo.c
+++ b/source4/torture/libnet/userinfo.c
@@ -152,12 +152,12 @@ bool torture_userinfo(struct torture_context *torture)
/*
* Testing synchronous version
*/
- if (!test_opendomain(p, mem_ctx, &h, &name, &sid)) {
+ if (!test_opendomain(torture, p, mem_ctx, &h, &name, &sid)) {
ret = false;
goto done;
}
- if (!test_user_create(p, mem_ctx, &h, TEST_USERNAME, &rid)) {
+ if (!test_user_create(torture, p, mem_ctx, &h, TEST_USERNAME, &rid)) {
ret = false;
goto done;
}
@@ -167,7 +167,7 @@ bool torture_userinfo(struct torture_context *torture)
goto done;
}
- if (!test_user_cleanup(p, mem_ctx, &h, TEST_USERNAME)) {
+ if (!test_user_cleanup(torture, p, mem_ctx, &h, TEST_USERNAME)) {
ret = false;
goto done;
}
@@ -175,12 +175,12 @@ bool torture_userinfo(struct torture_context *torture)
/*
* Testing asynchronous version and monitor messages
*/
- if (!test_opendomain(p, mem_ctx, &h, &name, &sid)) {
+ if (!test_opendomain(torture, p, mem_ctx, &h, &name, &sid)) {
ret = false;
goto done;
}
- if (!test_user_create(p, mem_ctx, &h, TEST_USERNAME, &rid)) {
+ if (!test_user_create(torture, p, mem_ctx, &h, TEST_USERNAME, &rid)) {
ret = false;
goto done;
}
@@ -190,7 +190,7 @@ bool torture_userinfo(struct torture_context *torture)
goto done;
}
- if (!test_user_cleanup(p, mem_ctx, &h, TEST_USERNAME)) {
+ if (!test_user_cleanup(torture, p, mem_ctx, &h, TEST_USERNAME)) {
ret = false;
goto done;
}