summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-03-15 07:59:30 +0100
committerMichael Adam <obnox@samba.org>2012-03-15 14:24:29 +0100
commitd430c88cfe06d1ae4db70a21aee650dd316d7a35 (patch)
tree00f4a3ad84b76dc5d64deb2ba54227ca6d98abd2 /source4
parent21f72a1ac3055be4128e96e7e0c457895b61a6a0 (diff)
downloadsamba-d430c88cfe06d1ae4db70a21aee650dd316d7a35.tar.gz
samba-d430c88cfe06d1ae4db70a21aee650dd316d7a35.tar.bz2
samba-d430c88cfe06d1ae4db70a21aee650dd316d7a35.zip
s4:selftest: fix message typo in test for "samba-tool user list"
Spotted by kukks - thanks. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 14:24:29 CET 2012 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/tests/samba_tool/user.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/samba_tool/user.py b/source4/scripting/python/samba/tests/samba_tool/user.py
index 15d04d60ff..42cb66c1c7 100644
--- a/source4/scripting/python/samba/tests/samba_tool/user.py
+++ b/source4/scripting/python/samba/tests/samba_tool/user.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
# Unix SMB/CIFS implementation.
# Copyright (C) Sean Dague <sdague@linux.vnet.ibm.com> 2011
#
@@ -182,7 +184,7 @@ class UserCmdTestCase(SambaToolCmdTest):
"-H", "ldap://%s" % os.environ["DC_SERVER"],
"-U%s%%%s" % (os.environ["DC_USERNAME"],
os.environ["DC_PASSWORD"]))
- self.assertCmdSuccess(result, "Error runing list")
+ self.assertCmdSuccess(result, "Error running list")
search_filter = ("(&(objectClass=user)(userAccountControl:%s:=%u))" %
(ldb.OID_COMPARATOR_AND, dsdb.UF_NORMAL_ACCOUNT))