X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source4%2Ftorture%2Fraw%2Feas.c;h=226c4f6052c72b33e98b4f238e1e6a7eacc91b50;hb=0479a2f1cbae51fcd8dbdc3c148c808421fb4d25;hp=d5e0f33586b83da265f396ead3ca53d17619eac1;hpb=d09b70c98b8222eb293bc9d8713ec071188ed01d;p=tprouty%2Fsamba.git diff --git a/source4/torture/raw/eas.c b/source4/torture/raw/eas.c index d5e0f33586..226c4f6052 100644 --- a/source4/torture/raw/eas.c +++ b/source4/torture/raw/eas.c @@ -8,7 +8,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -17,8 +17,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with this program. If not, see . */ #include "includes.h" @@ -445,13 +444,13 @@ done: /* basic testing of EA calls */ -BOOL torture_raw_eas(void) +BOOL torture_raw_eas(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; TALLOC_CTX *mem_ctx; - if (!torture_open_connection(&cli)) { + if (!torture_open_connection(&cli, 0)) { return False; } @@ -474,13 +473,13 @@ BOOL torture_raw_eas(void) /* test max EA size */ -BOOL torture_max_eas(void) +BOOL torture_max_eas(struct torture_context *torture) { struct smbcli_state *cli; BOOL ret = True; TALLOC_CTX *mem_ctx; - if (!torture_open_connection(&cli)) { + if (!torture_open_connection(&cli, 0)) { return False; }