diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-04 14:57:37 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-05 00:59:40 +0200 |
commit | 1c714850d5068864b1f04a4211223dec11a30d67 (patch) | |
tree | b890a5ba8a0f900f667ce79210ac0a4593f02642 /source4/torture/raw/streams.c | |
parent | ff215f5c89c91a22c910400c8ac81d82d7459ba0 (diff) | |
download | samba-1c714850d5068864b1f04a4211223dec11a30d67.tar.gz samba-1c714850d5068864b1f04a4211223dec11a30d67.tar.bz2 samba-1c714850d5068864b1f04a4211223dec11a30d67.zip |
Clean up some const and other compiler warnings.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/torture/raw/streams.c')
-rw-r--r-- | source4/torture/raw/streams.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c index 5ce9b756ef..ae3bc2a713 100644 --- a/source4/torture/raw/streams.c +++ b/source4/torture/raw/streams.c @@ -1629,6 +1629,7 @@ static bool test_stream_create_disposition(struct torture_context *tctx, return ret; } +#if 0 /* Test streaminfo with enough streams on a file to fill up the buffer. */ static bool test_stream_large_streaminfo(struct torture_context *tctx, struct smbcli_state *cli) @@ -1674,6 +1675,7 @@ static bool test_stream_large_streaminfo(struct torture_context *tctx, smbcli_deltree(cli->tree, BASEDIR); return ret; } +#endif /* Test the effect of setting attributes on a stream. */ static bool test_stream_attributes(struct torture_context *tctx, @@ -1913,8 +1915,10 @@ struct torture_suite *torture_raw_streams(TALLOC_CTX *tctx) torture_suite_add_1smb_test(suite, "attr", test_stream_attributes); torture_suite_add_1smb_test(suite, "sumtab", test_stream_summary_tab); - /* torture_suite_add_1smb_test(suite, "LARGESTREAMINFO", */ - /* test_stream_large_streaminfo); */ +#if 0 + torture_suite_add_1smb_test(suite, "LARGESTREAMINFO", + test_stream_large_streaminfo); +#endif return suite; } |