summaryrefslogtreecommitdiffstats
path: root/source/torture
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-04-14 05:54:33 +0000
committerGerald Carter <jerry@samba.org>2005-04-14 05:54:33 +0000
commitc43a86bb62e519c6d508887fe52d12accabce372 (patch)
treee517e0b5f40eed92b8b3220268688b7a7c961f2e /source/torture
parentf903c10943c537f462037c1f841e9923d56145dd (diff)
downloadsamba-c43a86bb62e519c6d508887fe52d12accabce372.tar.gz
samba-c43a86bb62e519c6d508887fe52d12accabce372.tar.xz
samba-c43a86bb62e519c6d508887fe52d12accabce372.zip
r6334: revert 3.0.15pre1 changes. roll back to 3.0.14.
Add in jra fix for bad SMB_ASSERT. Redefine SMB_ASSERT to a single DEBUG() when not using --with-developer
Diffstat (limited to 'source/torture')
-rw-r--r--source/torture/torture.c6
-rw-r--r--source/torture/utable.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source/torture/torture.c b/source/torture/torture.c
index 8a4de57e7ff..b37a30cf2e3 100644
--- a/source/torture/torture.c
+++ b/source/torture/torture.c
@@ -590,7 +590,7 @@ static BOOL run_readwritelarge(int dummy)
static struct cli_state *cli1;
int fnum1;
const char *lockfname = "\\large.dat";
- SMB_OFF_T fsize;
+ size_t fsize;
char buf[126*1024];
BOOL correct = True;
@@ -2360,7 +2360,7 @@ static BOOL run_trans2test(int dummy)
{
struct cli_state *cli;
int fnum;
- SMB_OFF_T size;
+ size_t size;
time_t c_time, a_time, m_time, w_time, m_time2;
const char *fname = "\\trans2.tst";
const char *dname = "\\trans2";
@@ -3591,7 +3591,7 @@ static BOOL run_opentest(int dummy)
const char *fname = "\\readonly.file";
int fnum1, fnum2;
char buf[20];
- SMB_OFF_T fsize;
+ size_t fsize;
BOOL correct = True;
char *tmp_path;
diff --git a/source/torture/utable.c b/source/torture/utable.c
index c9b30f06e1c..ba803a0da4f 100644
--- a/source/torture/utable.c
+++ b/source/torture/utable.c
@@ -137,7 +137,7 @@ BOOL torture_casetable(int dummy)
}
for (c=1; c < 0x10000; c++) {
- SMB_OFF_T size;
+ size_t size;
if (c == '.' || c == '\\') continue;