summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-05-27 17:10:31 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-05-28 22:30:07 +0300
commit2053403045cb8786abe778279a68b431b9c5977c (patch)
tree3a19a0eb4acc6a596f7bffc6cc0c0d412697f534 /source4/torture
parentf11cf62016070a26992e92c757da3cf6b96705c8 (diff)
downloadsamba-2053403045cb8786abe778279a68b431b9c5977c.tar.gz
samba-2053403045cb8786abe778279a68b431b9c5977c.tar.bz2
samba-2053403045cb8786abe778279a68b431b9c5977c.zip
s4/test: test_userinfo/_async tests should use passed user_name param value
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/libnet/userinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c
index aa5b8e8ccf..d28534f53e 100644
--- a/source4/torture/libnet/userinfo.c
+++ b/source4/torture/libnet/userinfo.c
@@ -57,7 +57,7 @@ static bool test_userinfo(struct torture_context *tctx,
user.in.domain_handle = *domain_handle;
user.in.sid = NULL;
- user.in.username = TEST_USERNAME;
+ user.in.username = user_name;
user.in.level = level;
torture_comment(tctx, "Testing sync libnet_rpc_userinfo (username argument)\n");
@@ -107,7 +107,7 @@ static bool test_userinfo_async(struct torture_context *tctx,
user.in.domain_handle = *domain_handle;
user.in.sid = NULL;
- user.in.username = TEST_USERNAME;
+ user.in.username = user_name;
user.in.level = level;
torture_comment(tctx, "Testing async libnet_rpc_userinfo (username argument)\n");