summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-02 12:38:45 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-02 12:38:45 +0000
commit495eedb14fb4f00c2dbfe4ee530e535b32236e77 (patch)
tree6e0cde2aeb40fd2eaad731661629034d892552ab
parent24bf006d5224e59d2d073ca4a7cb2df838c4c6c7 (diff)
downloadsamba-495eedb14fb4f00c2dbfe4ee530e535b32236e77.tar.gz
samba-495eedb14fb4f00c2dbfe4ee530e535b32236e77.tar.bz2
samba-495eedb14fb4f00c2dbfe4ee530e535b32236e77.zip
some changes in smbtorture as a result of clientgen interface changes
for smbwrapper note that Lukes client changes broke smbtorture. This doesn't fix it, but at least I didn't break it more than it was. (This used to be commit 252b52091c11d8a6cc9c70f32671aee865ae7b41)
-rw-r--r--source3/utils/torture.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/utils/torture.c b/source3/utils/torture.c
index 3e29c5a00a..1cf1f2fe4d 100644
--- a/source3/utils/torture.c
+++ b/source3/utils/torture.c
@@ -773,7 +773,7 @@ static void run_trans2test(void)
cli_unlink(&cli, fname);
fnum = cli_open(&cli, fname,
O_RDWR | O_CREAT | O_TRUNC, DENY_NONE);
- if (!cli_qfileinfo(&cli, fnum, &c_time, &a_time, &m_time, &size)) {
+ if (!cli_qfileinfo(&cli, fnum, &c_time, &a_time, &m_time, &size, NULL)) {
printf("ERROR: qfileinfo failed (%s)\n", cli_errstr(&cli));
}
cli_close(&cli, fnum);
@@ -785,7 +785,7 @@ static void run_trans2test(void)
O_RDWR | O_CREAT | O_TRUNC, DENY_NONE);
cli_close(&cli, fnum);
- if (!cli_qpathinfo(&cli, fname, &c_time, &a_time, &m_time, &size)) {
+ if (!cli_qpathinfo(&cli, fname, &c_time, &a_time, &m_time, &size, NULL)) {
printf("ERROR: qpathinfo failed (%s)\n", cli_errstr(&cli));
} else {
if (c_time != m_time) {
@@ -809,7 +809,7 @@ static void run_trans2test(void)
O_RDWR | O_CREAT | O_TRUNC, DENY_NONE);
cli_close(&cli, fnum);
if (!cli_qpathinfo2(&cli, fname, &c_time, &a_time, &m_time,
- &w_time, &size)) {
+ &w_time, &size, NULL)) {
printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(&cli));
} else {
if (w_time < 60*60*24*2) {
@@ -828,7 +828,7 @@ static void run_trans2test(void)
}
sleep(3);
if (!cli_qpathinfo2(&cli, "\\trans2\\", &c_time, &a_time, &m_time,
- &w_time, &size)) {
+ &w_time, &size, NULL)) {
printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(&cli));
}
@@ -837,7 +837,7 @@ static void run_trans2test(void)
cli_write(&cli, fnum, (char *)&fnum, 0, sizeof(fnum));
cli_close(&cli, fnum);
if (!cli_qpathinfo2(&cli, "\\trans2\\", &c_time, &a_time, &m_time2,
- &w_time, &size)) {
+ &w_time, &size, NULL)) {
printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(&cli));
} else {
if (m_time2 == m_time)