git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10c60f2
)
s4-smbtorture: skip wbcChangeUserPassword test when no oldpass is set in environment.
author
Günther Deschner
<gd@samba.org>
Thu, 8 Jul 2010 13:58:12 +0000
(15:58 +0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 8 Jul 2010 13:59:44 +0000
(15:59 +0200)
Guenther
nsswitch/libwbclient/tests/wbclient.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/tests/wbclient.c
b/nsswitch/libwbclient/tests/wbclient.c
index f3f45be561760435a2afa04090d48c63bfcbdd85..e2b3794d06f97381c49b1abccd2ddd894eb8b84d 100644
(file)
--- a/
nsswitch/libwbclient/tests/wbclient.c
+++ b/
nsswitch/libwbclient/tests/wbclient.c
@@
-601,6
+601,11
@@
static bool test_wbc_change_password(struct torture_context *tctx)
struct wbcChangePasswordParams params;
+ if (oldpass == NULL) {
+ torture_skip(tctx,
+ "skipping wbcChangeUserPassword test as old password cannot be retrieved\n");
+ }
+
ZERO_STRUCT(params);
E_md4hash(oldpass, old_nt_hash);