summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/notify.c4
-rw-r--r--source4/torture/smb2/streams.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/smb2/notify.c b/source4/torture/smb2/notify.c
index e4e26365e3..7a4e5622d2 100644
--- a/source4/torture/smb2/notify.c
+++ b/source4/torture/smb2/notify.c
@@ -367,7 +367,7 @@ static bool torture_smb2_notify_dir(struct torture_context *torture,
notify.smb2.in.file.handle = h1;
req = smb2_notify_send(tree1, &(notify.smb2));
- status = smb2_util_unlink(tree1, BASEDIR "\\nonexistant.txt");
+ status = smb2_util_unlink(tree1, BASEDIR "\\nonexistent.txt");
CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
/* (1st unlink) as the 2nd notify directly returns,
@@ -400,7 +400,7 @@ static bool torture_smb2_notify_dir(struct torture_context *torture,
"(3rd notify) this notify will only see the 1st unlink\n");
req = smb2_notify_send(tree1, &(notify.smb2));
- status = smb2_util_unlink(tree1, BASEDIR "\\nonexistant.txt");
+ status = smb2_util_unlink(tree1, BASEDIR "\\nonexistent.txt");
CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
for (i=1;i<count;i++) {
diff --git a/source4/torture/smb2/streams.c b/source4/torture/smb2/streams.c
index 8e7fb220c8..608b397d3d 100644
--- a/source4/torture/smb2/streams.c
+++ b/source4/torture/smb2/streams.c
@@ -244,7 +244,7 @@ static bool test_stream_dir(struct torture_context *tctx,
sname1 = talloc_asprintf(mem_ctx, "%s:%s", fname, "Stream One");
torture_comment(tctx, "%s\n", sname1);
- torture_comment(tctx, "(%s) opening non-existant directory stream\n",
+ torture_comment(tctx, "(%s) opening non-existent directory stream\n",
__location__);
ZERO_STRUCT(io.smb2);
io.smb2.in.create_options = NTCREATEX_OPTIONS_DIRECTORY;
@@ -328,7 +328,7 @@ static bool test_stream_io(struct torture_context *tctx,
status = torture_smb2_testdir(tree, DNAME, &h);
CHECK_STATUS(status, NT_STATUS_OK);
- torture_comment(tctx, "(%s) creating a stream on a non-existant file\n",
+ torture_comment(tctx, "(%s) creating a stream on a non-existent file\n",
__location__);
ZERO_STRUCT(io.smb2);
@@ -613,7 +613,7 @@ static bool test_stream_delete(struct torture_context *tctx,
status = torture_smb2_testdir(tree, DNAME, &h);
CHECK_STATUS(status, NT_STATUS_OK);
- torture_comment(tctx, "(%s) opening non-existant file stream\n",
+ torture_comment(tctx, "(%s) opening non-existent file stream\n",
__location__);
ZERO_STRUCT(io.smb2);
io.smb2.in.create_flags = 0;