summaryrefslogtreecommitdiff
path: root/source4/torture/raw/mkdir.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-11 01:39:06 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-11 20:57:33 +0200
commit7da94cc4a664521be279b019e9f32121cd410193 (patch)
tree3aa0c65387e4415effb4de9d0d3d5873605c016f /source4/torture/raw/mkdir.c
parentd0ab7440acf57f698290c2ba64650c6144bc8545 (diff)
downloadsamba-7da94cc4a664521be279b019e9f32121cd410193.tar.gz
samba-7da94cc4a664521be279b019e9f32121cd410193.tar.bz2
samba-7da94cc4a664521be279b019e9f32121cd410193.zip
subunit: Support formatting compatible with upstream subunit, for consistency.
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
Diffstat (limited to 'source4/torture/raw/mkdir.c')
-rw-r--r--source4/torture/raw/mkdir.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/torture/raw/mkdir.c b/source4/torture/raw/mkdir.c
index c109ee7cf7..9c744b2db8 100644
--- a/source4/torture/raw/mkdir.c
+++ b/source4/torture/raw/mkdir.c
@@ -56,7 +56,7 @@ static bool test_mkdir(struct smbcli_state *cli, struct torture_context *tctx)
status = smb_raw_mkdir(cli->tree, &md);
CHECK_STATUS(status, NT_STATUS_OK);
- printf("testing mkdir collision\n");
+ printf("Testing mkdir collision\n");
/* 2nd create */
status = smb_raw_mkdir(cli->tree, &md);
@@ -70,14 +70,14 @@ static bool test_mkdir(struct smbcli_state *cli, struct torture_context *tctx)
status = smb_raw_rmdir(cli->tree, &rd);
CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
- printf("testing mkdir collision with file\n");
+ printf("Testing mkdir collision with file\n");
/* name collision with a file */
smbcli_close(cli->tree, create_complex_file(cli, tctx, path));
status = smb_raw_mkdir(cli->tree, &md);
CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_COLLISION);
- printf("testing rmdir with file\n");
+ printf("Testing rmdir with file\n");
/* delete a file with rmdir */
status = smb_raw_rmdir(cli->tree, &rd);
@@ -85,14 +85,14 @@ static bool test_mkdir(struct smbcli_state *cli, struct torture_context *tctx)
smbcli_unlink(cli->tree, path);
- printf("testing invalid dir\n");
+ printf("Testing invalid dir\n");
/* create an invalid dir */
md.mkdir.in.path = "..\\..\\..";
status = smb_raw_mkdir(cli->tree, &md);
CHECK_STATUS(status, NT_STATUS_OBJECT_PATH_SYNTAX_BAD);
- printf("testing t2mkdir\n");
+ printf("Testing t2mkdir\n");
/* try a t2mkdir - need to work out why this fails! */
md.t2mkdir.level = RAW_MKDIR_T2MKDIR;
@@ -104,13 +104,13 @@ static bool test_mkdir(struct smbcli_state *cli, struct torture_context *tctx)
status = smb_raw_rmdir(cli->tree, &rd);
CHECK_STATUS(status, NT_STATUS_OK);
- printf("testing t2mkdir bad path\n");
+ printf("Testing t2mkdir bad path\n");
md.t2mkdir.in.path = talloc_asprintf(tctx, "%s\\bad_path\\bad_path",
BASEDIR);
status = smb_raw_mkdir(cli->tree, &md);
CHECK_STATUS(status, NT_STATUS_OBJECT_PATH_NOT_FOUND);
- printf("testing t2mkdir with EAs\n");
+ printf("Testing t2mkdir with EAs\n");
/* with EAs */
md.t2mkdir.level = RAW_MKDIR_T2MKDIR;