summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2002-01-03Make a couple more of the warnings also be C commentsAndrew Bartlett1-2/+2
(This used to be commit 8f343beae7455141ce6a5e27e46ed2970aed8e7f)
2002-01-03A few changes to always output the erorr mapping even when the error wasAndrew Bartlett1-27/+34
'squashed' or the session setup succeeded. (How the latter occurs I don't know). (This used to be commit d879d2ffffc47ce161afb3d96bc5c4b92de662c3)
2002-01-03Workaround some 'smarts' in Win2k.Andrew Bartlett1-0/+20
Win2k kills off connections that have issued a negprot but havn't yet issued a session setup when a second connection appears from the same host. (This used to be commit d47e61eb468218cae631e78edbd5d02982c78ab0)
2002-01-03Re-add bail on failure.Andrew Bartlett1-2/+8
(This used to be commit da9444d98f212af8f1b1e1df191adf3c31d50f6d)
2002-01-03fixed ERRMAPEXTRACT torture to work with win2kAndrew Tridgell1-11/+5
(This used to be commit 27143900e76033026ecd5a7b4525c0150f3a535d)
2002-01-02Minor update to make the output 'real C'. (The output is intended to be a CAndrew Bartlett1-3/+8
format table for inclusion back into Samba). Andrew Bartlett (This used to be commit 95abb2473bb4f93df163a0e8af79d5292e1389b3)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter1-2/+1
and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip); (This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)
2001-11-25Add a new torture test to extract a NT->DOS error map from an NT member of aAndrew Bartlett1-0/+74
samba domain. The PDC must be running a special authenticaion module that spits out NT errors based on username. Andrew Bartlett (This used to be commit adc7a6048c13342b79b6228beafb5142c50f318d)
2001-11-20fix maxfd test to start deleting at right fileAndrew Tridgell1-0/+1
(This used to be commit e4fb073af02846309c3efb0675006433052bb1ce)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-2/+1
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-02the CASETABLE torture target now generates the complete unicodeAndrew Tridgell1-0/+1
equivalence table for a server. This was inspired by the chargen win32 code from monyo. This takes a *long* time to run against a Samba server due to the case insensitive comparisons in the filesystem. That makes it a N^2 operation, and N is 64k. It is linear on NT. (This used to be commit 441f9415b365787854fb0d3e04d1ea4938d7af73)
2001-09-25added a little smbtorture test for dumping the unicode table of aAndrew Tridgell1-1/+2
server. This is just a framework right now - I want this to eventually replace the win32 test code from monyo The interesting this about this test is that it shows up a really horrible performance bug in our stat cache code. I'll see if I can fix it. (This used to be commit eb668b54af4925194c07b217724657f406ec00d0)
2001-09-17fixed ctemp in server and client. It turns out that ctemp on NT is ↵Andrew Tridgell1-10/+12
completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case (This used to be commit 2d507ec669def6d49304559e53d6c14af9b290a9)
2001-09-16Fix (I hope) for a number of little compile warnings found by the IRIXAndrew Bartlett1-4/+4
compilers on the build farm. Andrew Bartlett (This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)
2001-09-10declare dbf in one spotAndrew Tridgell1-1/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell1-2/+2
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-06- fixed proto.h build on systems using a parallel makeAndrew Tridgell1-192/+8
- changed DENY1 and DENY2 tests to only report errors (This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)
2001-09-06it turns out that XP agrees with the samba head branch over the rightAndrew Tridgell1-12/+13
error codes for locking, so fix the test rather than fixing samba (This used to be commit a583af3c2f5d1962495a0f18b671e34d6ff43511)
2001-09-04fixed compilation of tortureAndrew Tridgell1-4/+4
(This used to be commit aaf538a83057150cc35e9032aff7a78e8f0c4dc2)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-1/+1
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell1-134/+70
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-23more minor torture updatesAndrew Tridgell1-4/+14
(This used to be commit 6513b94d19adab8f94bbd8044338658242188e7a)
2001-08-23the beginnings of a TRANS2 scannerAndrew Tridgell1-0/+66
(This used to be commit 9c483987a5d136bf23018ade6ceecf603f8f1614)
2001-08-22minor bug fixes to smbtortureAndrew Tridgell1-3/+5
(This used to be commit 7724243fe71dbf0783ea6e081e40d6916ac45c0d)
2001-08-20a bunch of fixes from the sflight to seattleAndrew Tridgell1-30/+39
in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch (This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
2001-08-13Converted to new error API.Tim Potter1-28/+32
Now that we support NT errors from the client, appropriate values will need to be filled in for the various invocations of check_error() within the torture code. (This used to be commit 577f6065f6c6b0cfbd7f8cfd11d28a0962a6d221)
2001-07-07Update smbtorture in line with SAMBA_2_2Andrew Bartlett1-5/+34
Andrew Bartlett (This used to be commit dc588ee87ae16e207324d42f926d7889b70362de)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-2/+2
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell1-6/+0
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-02Not all OSs have setbuffer, so we better check for it.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit aa5708de69a71e6b41a12f63550fae94f2481742)
2001-07-02Make smbtorture return status values for use in the build_farm tests.Andrew Bartlett1-469/+733
This should not have changed behaviour, and it has been tested. Andrew Bartlett (This used to be commit a73aefef09804bf95eec1449f75adc5ff5e032d0)
2001-06-30Ensure we return correct error on trying to unlock a region not locked.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 015a077acc49e59179dc10256fd32166ee4623e2)
2001-06-19Extra debug in open.c, fix for bad debug message in reply.cJeremy Allison1-0/+2
Jeremy. (This used to be commit 2c2fc8513699eb39721ac1d65fa1fdaecde526a8)
2001-06-19moved all our torture code to a separate directoryAndrew Tridgell1-0/+3053
(This used to be commit dd12c47645e2d0e832bc555492a6a8725a4495ee)