diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-08-11 21:11:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:57:52 -0500 |
commit | ae274c84d734165f6af8356a15d38c56b7d07406 (patch) | |
tree | 04ada5f44db8b9a7daa6887a5c4b4a0580c83027 /source4/torture/raw/qfileinfo.c | |
parent | 44e04cdb11a87ae78cabd76c61e11ae1f283dfaa (diff) | |
download | samba-ae274c84d734165f6af8356a15d38c56b7d07406.tar.gz samba-ae274c84d734165f6af8356a15d38c56b7d07406.tar.bz2 samba-ae274c84d734165f6af8356a15d38c56b7d07406.zip |
r1740: fixed the torture suite for ASCII-only servers
(This used to be commit c3bce90be745db3e7cbf8273c1c8496920332f5e)
Diffstat (limited to 'source4/torture/raw/qfileinfo.c')
-rw-r--r-- | source4/torture/raw/qfileinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/raw/qfileinfo.c b/source4/torture/raw/qfileinfo.c index 251a2de85d..951769d4da 100644 --- a/source4/torture/raw/qfileinfo.c +++ b/source4/torture/raw/qfileinfo.c @@ -503,14 +503,14 @@ BOOL torture_raw_qfileinfo(int dummy) #define NAME_CHECK(sname, stype, tfield, flags) do { \ s1 = fnum_find(sname); \ if (s1 && (strcmp(s1->stype.out.tfield.s, correct_name) != 0 || \ - wire_bad_flags(&s1->stype.out.tfield, flags))) { \ + wire_bad_flags(&s1->stype.out.tfield, flags, cli))) { \ printf("(%d) handle %s/%s incorrect - '%s/%d'\n", __LINE__, #stype, #tfield, \ s1->stype.out.tfield.s, s1->stype.out.tfield.private_length); \ ret = False; \ } \ s1 = fname_find(sname); \ if (s1 && (strcmp(s1->stype.out.tfield.s, correct_name) != 0 || \ - wire_bad_flags(&s1->stype.out.tfield, flags))) { \ + wire_bad_flags(&s1->stype.out.tfield, flags, cli))) { \ printf("(%d) path %s/%s incorrect - '%s/%d'\n", __LINE__, #stype, #tfield, \ s1->stype.out.tfield.s, s1->stype.out.tfield.private_length); \ ret = False; \ @@ -538,7 +538,7 @@ BOOL torture_raw_qfileinfo(int dummy) ret = False; } } - if (wire_bad_flags(&s1->all_info.out.fname, STR_UNICODE)) { + if (wire_bad_flags(&s1->all_info.out.fname, STR_UNICODE, cli)) { printf("Should not null terminate all_info/fname\n"); ret = False; } |