diff options
| author | Andrew Bartlett <abartlet@samba.org> | 2008-04-15 16:31:08 +0200 | 
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2008-04-15 16:31:08 +0200 | 
| commit | cb5873f36d5f67b51afd9327df114ff7c1b529d0 (patch) | |
| tree | eaf1c28bd861a10cf07635571c4a784871b9a4f0 | |
| parent | e0eba5232d3f2cd366b1cbe64fbd3547889c7635 (diff) | |
| download | samba-cb5873f36d5f67b51afd9327df114ff7c1b529d0.tar.gz samba-cb5873f36d5f67b51afd9327df114ff7c1b529d0.tar.bz2 samba-cb5873f36d5f67b51afd9327df114ff7c1b529d0.zip | |
Fix some of the winbind tests.
Some of the test expectations were incorrect.
Andrew Bartlett
(This used to be commit bc0e94360edb99e967dac01a3ecff42de0c1c222)
| -rwxr-xr-x | source4/selftest/samba4_tests.sh | 2 | ||||
| -rw-r--r-- | source4/selftest/target/Samba4.pm | 2 | ||||
| -rw-r--r-- | source4/torture/winbind/struct_based.c | 3 | 
3 files changed, 4 insertions, 3 deletions
| diff --git a/source4/selftest/samba4_tests.sh b/source4/selftest/samba4_tests.sh index ed5e46cf03..3a3e1f91b1 100755 --- a/source4/selftest/samba4_tests.sh +++ b/source4/selftest/samba4_tests.sh @@ -302,7 +302,7 @@ done  WB_OPTS="--option=\"torture:strict mode=yes\""  WB_OPTS="${WB_OPTS} --option=\"torture:timelimit=1\"" -WB_OPTS="${WB_OPTS} --option=\"torture:winbindd separator=\\\\\"" +WB_OPTS="${WB_OPTS} --option=\"torture:winbindd separator=/\""  WB_OPTS="${WB_OPTS} --option=\"torture:winbindd private pipe dir=\$WINBINDD_PRIV_PIPE_DIR\""  WB_OPTS="${WB_OPTS} --option=\"torture:winbindd netbios name=\$SERVER\""  WB_OPTS="${WB_OPTS} --option=\"torture:winbindd netbios domain=\$DOMAIN\"" diff --git a/source4/selftest/target/Samba4.pm b/source4/selftest/target/Samba4.pm index 552f6535af..069aff73cf 100644 --- a/source4/selftest/target/Samba4.pm +++ b/source4/selftest/target/Samba4.pm @@ -521,7 +521,7 @@ sub provision($$$$$$)  	my $ncalrpcdir = "$prefix_abs/ncalrpc";  	my $lockdir = "$prefix_abs/lockdir";  	my $winbindd_socket_dir = "$prefix_abs/winbind_socket"; -	my $winbindd_priv_pipe_dir = "$piddir/smbd.tmp/winbind_pipe"; +	my $winbindd_priv_pipe_dir = "$privatedir/smbd.tmp/winbind_pipe";  	my $nsswrap_passwd = "$etcdir/passwd";  	my $nsswrap_group = "$etcdir/group"; diff --git a/source4/torture/winbind/struct_based.c b/source4/torture/winbind/struct_based.c index 0fe2148b75..51ac0e622a 100644 --- a/source4/torture/winbind/struct_based.c +++ b/source4/torture/winbind/struct_based.c @@ -181,7 +181,8 @@ static bool torture_winbind_struct_netbios_name(struct torture_context *torture)  	expected = torture_setting_string(torture,  					  "winbindd netbios name",  					  lp_netbios_name(torture->lp_ctx)); - +	expected = strupper_talloc(torture, expected); +	  	torture_assert_str_equal(torture,  				 rep.data.netbios_name, expected,  				 "winbindd's netbios name doesn't match"); | 
