Jelmer Vernooij
d2cea7d289
Add 'smbiconv' program - a clone of the 'iconv' utility
...
that uses samba's internal iconv() functions. Useful for
testing purposes.
(This used to be commit ccabb7961a
)
2003-04-27 20:47:15 +00:00
Andrew Bartlett
2e9c2084a6
Add a check to ensure that the server returns the correct device type, not
...
just the correct error.
This should help us avoid breaking NT4 IPC$ connections, for example.
This has required that we don't overwrite the device type for IPC$ in our
tcon&X code, but only smbwrapper even uses it, and a server that doesn't send
a correct dev type breaks other things pretty badly.
In any case, I'll 'fix' smbwrapper :-).
Andrew Bartlett
(This used to be commit a93057efcb
)
2003-04-23 09:26:07 +00:00
Andrew Bartlett
2206df6b30
Merge torture tests from HEAD - it looks like we had rather an incomplete
...
merge last time. I hope this might fix a few failures on the build farm too.
Andrew Bartlett
(This used to be commit 0c83712692
)
2003-04-23 08:12:34 +00:00
Gerald Carter
fb3ff5fc44
fixing torture build by merging code from HEAD
...
(This used to be commit 7798c7ee1a
)
2003-04-18 03:35:39 +00:00
Gerald Carter
d15cd357c7
merge in metze' smbcquotas patch from HEAD
...
(This used to be commit b6a7704888
)
2003-04-15 19:51:17 +00:00
Jelmer Vernooij
69980dacef
Fix popt usage (backport from HEAD)
...
(This used to be commit 89a25ef20d
)
2003-04-14 21:16:16 +00:00
cvs2svn Import User
a47d06a2c2
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 381649916e
)
2003-04-13 13:50:46 +00:00
Gerald Carter
5b51fc4f06
smbcquota patch from metze
...
(This used to be commit 74fab8f0d2
)
2003-04-11 23:32:00 +00:00
Jeremy Allison
dfdb51ca45
Added using different cnum test. WinXP and Samba now pass - Win2k fails.
...
Jeremy.
(This used to be commit bc094789b9
)
2003-04-10 01:11:21 +00:00
Jeremy Allison
80b4dc4713
Ensure we have WinXP-like semantics for checking TIDs and FIDs.
...
Add torture test to ensure this is so.
Jeremy.
(This used to be commit e07dd4d93d
)
2003-04-09 22:32:04 +00:00
Martin Pool
5b70d85047
Set character set to default (UTF-8) before running tests.
...
(This used to be commit b20d8b4970
)
2003-04-09 05:31:39 +00:00
Martin Pool
80cd7c552f
t_push_ucs2, t_strcmp: Run tests only once by default, rather than
...
10000 times. (In theory they should be pure functions....) You can
specify a parameter to repeat them if you want to e.g. measure
performance.
(This used to be commit 92acecd28c
)
2003-04-09 05:22:17 +00:00
Martin Pool
bce94d35f1
Integrate abartlet's t_push_ucs2 test into test framework:
...
- Build t_push_ucs2 as part of check-programs, the prerequisite for
"make check".
- t_push_ucs2.c: Load configuration from /dev/null so that we get a
unix_charset of UTF-8 and can do meaningful UCS2 tests. Better
comment.
- Add a test to strings.py which tries conversion UTF8->UCS2->UTF8
and checks the results. Do this for English, Latin-1, and Katakana
strings.
- Add Python module with symbolic names for a handful of UNICODE
characters.
(This used to be commit 275e095c92
)
2003-04-08 08:05:01 +00:00
Andrew Bartlett
854c5d60bd
If the string does not convert back, print the buggy result.
...
(This used to be commit 98f7632554
)
2003-04-06 12:01:44 +00:00
Andrew Bartlett
fbd5367245
Fix bigballofmud.so, and add a test to show a bug I'm having with push_ucs2.
...
Andrew Bartlett
(This used to be commit a60fd29b43
)
2003-04-06 11:19:26 +00:00
cvs2svn Import User
80146c3d1d
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit cbc42567be
)
2003-04-04 03:16:28 +00:00
Martin Pool
31c8c7156f
Test harness that exercises check_dos_char()
...
(This used to be commit 346c763fd1
)
2003-04-04 03:07:07 +00:00
John Terpstra
9660f5887e
Merge from HEAD to define variable port_to_use. Needed to compile.
...
(This used to be commit b522892215
)
2003-04-01 16:48:18 +00:00
Andrew Tridgell
65d7f6afba
reversed the sense of the TCON test, now that we know that win2003
...
fixes this. This means that TCON fails on win2000, but passes on Samba
and win2003
(This used to be commit 591a500ed7
)
2003-04-01 10:56:23 +00:00
Volker Lendecke
5fd03bffd3
This changes our handling of invalid service types that the
...
client requested on tconx. We now return the same error
code like NT4SP6 and W2kSP3 return.
TCONDEV is a little test for this.
Volker
(This used to be commit 6f94ab8ed5
)
2003-03-30 16:37:10 +00:00
Volker Lendecke
17d188d999
This changes our handling of invalid service types that the
...
client requested on tconx. We now return the same error
code like NT4SP6 and W2kSP3 return.
TCONDEV is a little test for this.
Volker
(This used to be commit 6ab88f31d6
)
2003-03-30 16:36:21 +00:00
Andrew Tridgell
cb830f05ae
added simple tests for SMBchkpath and SMBioctl
...
(This used to be commit ca982a9f1d
)
2003-03-30 09:45:44 +00:00
Andrew Tridgell
19a384a54c
updated the TCON test so that win2000 passes. Samba now fails this
...
test.
It is an interesting test because it shows that win2000 completely
ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to
do this as we check the VUID and TID fields before we call the SMB
specific reply functions.
The test also shows that the list of open files must be global to the
socket, not specific to a tcon.
(This used to be commit be98069c4e
)
2003-03-29 23:30:53 +00:00
Andrew Tridgell
dfcf1634bc
added a simple test for the old SMBtcon interface
...
(This used to be commit c95ae394c5
)
2003-03-29 12:44:42 +00:00
Jelmer Vernooij
11e9de855c
Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes
...
(This used to be commit 2ddfed298d
)
2003-03-24 11:25:34 +00:00
Martin Pool
54925dcc60
Run test 10000 times to make measurement easier.
...
(This used to be commit e051789ac6
)
2003-03-19 02:59:18 +00:00
cvs2svn Import User
74d3be0218
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit f0d009c3e9
)
2003-03-18 07:09:24 +00:00
Martin Pool
2f07f71d78
The new string macros catch a bug at compile that previously only
...
trapped at runtime, which is great. So we have to try a little harder
to provoke an overflow -- which is still caught nicely in developer
mode.
(This used to be commit cea126f62a
)
2003-03-18 05:31:52 +00:00
Andrew Tridgell
d2a85e5185
show which files we fail to create in the casetable test
...
(This used to be commit d40e3747cf
)
2003-03-13 04:36:32 +00:00
Martin Pool
9a63d8bc2a
Update usage message.
...
(This used to be commit 17f01f6959
)
2003-03-12 02:58:45 +00:00
Martin Pool
a16b155fc9
Add example of string overflow which is now caught in developer mode.
...
(This used to be commit dcf1705782
)
2003-03-12 02:57:48 +00:00
Andrew Tridgell
538c832ba1
having sticky create times is not a bug
...
(This used to be commit f283f71104
)
2003-03-11 06:53:44 +00:00
Andrew Tridgell
191b44b91c
fixed the MANGLE smbtorture test with the new paranoid string code
...
(This used to be commit 7be44dbe00
)
2003-03-11 06:53:10 +00:00
Andrew Tridgell
c13990277f
make sure we have an empty directory when we start the utable test
...
(This used to be commit af415842b8
)
2003-03-11 06:31:23 +00:00
Andrew Tridgell
8dd9e99f37
fixed use_oplocks and the timeout in smbtorture startup
...
(This used to be commit cec1ef09e5
)
2003-03-10 02:51:30 +00:00
Andrew Tridgell
44bd743c28
added -i option for ignoring dot errors in masktest
...
(This used to be commit 0f4d1172a6
)
2003-03-10 02:49:52 +00:00
Andrew Bartlett
ca0d82b11c
Make smbtorture use the same cli_full_connection() framework as the rest of
...
Samba. This fixes things like not doing *SMBSERVER etc.
Andrew Bartlett
(This used to be commit 8863ff863c
)
2003-03-06 10:37:51 +00:00
Martin Pool
7a3cc345e0
FIXME about crash on failure case.
...
(This used to be commit a387c42097
)
2003-03-06 07:36:08 +00:00
Richard Sharpe
6149dfd3e7
Add *SMBSERVER fallback code to smbtorture ...
...
(This used to be commit 460339db22
)
2003-03-05 23:55:11 +00:00
Richard Sharpe
48e3bf2e95
Add code to allow us to specify the port to connect on when performing
...
a test ...
(This used to be commit 1128a2fb4c
)
2003-03-05 23:29:36 +00:00
Martin Pool
37e39f5be4
Add simple test harness that exposes StrCaseCmp for testing.
...
(This used to be commit ab77beca04
)
2003-02-28 03:34:18 +00:00
Tim Potter
1aeede25e8
Merge: const fixes.
...
Merge: add popt_common_version to command line options table.
(This used to be commit 5f8a008a52
)
2003-02-25 23:52:38 +00:00
Tim Potter
991f6cc3c1
More const fixes and flow on fixes from yesterday's const-fest.
...
(This used to be commit 018733eedd
)
2003-02-25 23:34:57 +00:00
Andrew Bartlett
630944d179
Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
...
twice, let the libsmb code determine what form the share name should take.
Andrew Bartlett
(This used to be commit a25f612664
)
2003-02-24 03:28:37 +00:00
Andrew Bartlett
52db4c6698
Missed a couple of files from the client-side kerberos merge
...
(This used to be commit 56934f303c
)
2003-02-24 03:06:45 +00:00
Andrew Bartlett
ae2f064dc6
Add static
...
(This used to be commit d0365f20c2
)
2003-02-22 12:16:17 +00:00
Jeremy Allison
ca2e995576
New locktest7 code based on patch from "Srikanta Shivanna" <sshivanna@pillardata.com>
...
Jeremy.
(This used to be commit caf298c380
)
2003-02-22 01:08:19 +00:00
Simo Sorce
f21edd472c
correct init, tx Stefan
...
(This used to be commit a2e1969ce5
)
2003-02-19 22:26:54 +00:00
Simo Sorce
29b94266df
correct init for vfs.conn, thanks Stefan
...
(This used to be commit 162683d2b5
)
2003-02-19 22:26:19 +00:00
Jelmer Vernooij
5eb7b6113b
Add -V option (to print out version) to utilities where possible
...
(pdbedit already has a -V option..)
(This used to be commit 5de622968d
)
2003-02-18 18:43:59 +00:00