summaryrefslogtreecommitdiff
path: root/source4/torture/raw/streams.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-11-23 16:02:27 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:05 +0100
commitf6d91ea2e20c9e5bf2c52409467355407206ced2 (patch)
treec92668a87e0e440ad7db911244b661722a55cd1d /source4/torture/raw/streams.c
parentd588d3e3ada71c11d0db654adb18e9de300fd74b (diff)
downloadsamba-f6d91ea2e20c9e5bf2c52409467355407206ced2.tar.gz
samba-f6d91ea2e20c9e5bf2c52409467355407206ced2.tar.bz2
samba-f6d91ea2e20c9e5bf2c52409467355407206ced2.zip
r26104: Revert 26103 -- breaks make test
(This used to be commit d1a220aee38cd7799e86366cc5bc574571915aa3)
Diffstat (limited to 'source4/torture/raw/streams.c')
-rw-r--r--source4/torture/raw/streams.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c
index ba3840947e..ac9d0d36aa 100644
--- a/source4/torture/raw/streams.c
+++ b/source4/torture/raw/streams.c
@@ -261,8 +261,6 @@ static bool test_stream_io(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
ret &= check_stream(cli, __location__, mem_ctx, fname, "Stream One:$DATA", "test MORE DATA ");
ret &= check_stream(cli, __location__, mem_ctx, fname, "Stream One:", NULL);
ret &= check_stream(cli, __location__, mem_ctx, fname, "Second Stream", "SECOND STREAM");
- ret &= check_stream(cli, __location__, mem_ctx, fname,
- "SECOND STREAM:$DATA", "SECOND STREAM");
ret &= check_stream(cli, __location__, mem_ctx, fname, "Second Stream:$DATA", "SECOND STREAM");
ret &= check_stream(cli, __location__, mem_ctx, fname, "Second Stream:", NULL);
ret &= check_stream(cli, __location__, mem_ctx, fname, "Second Stream:$FOO", NULL);
@@ -292,16 +290,6 @@ static bool test_stream_io(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
check_stream_list(cli, fname, 1, one);
- io.ntcreatex.in.open_disposition = NTCREATEX_DISP_CREATE;
- io.ntcreatex.in.fname = sname1;
- status = smb_raw_open(cli->tree, mem_ctx, &io);
- CHECK_STATUS(status, NT_STATUS_OK);
- smbcli_close(cli->tree, io.ntcreatex.out.file.fnum);
- io.ntcreatex.in.fname = sname2;
- status = smb_raw_open(cli->tree, mem_ctx, &io);
- CHECK_STATUS(status, NT_STATUS_OK);
- smbcli_close(cli->tree, io.ntcreatex.out.file.fnum);
-
printf("(%s) deleting file\n", __location__);
status = smbcli_unlink(cli->tree, fname);
CHECK_STATUS(status, NT_STATUS_OK);