s4:torture: fix use of non-existent word (existant)
authorMichael Adam <obnox@samba.org>
Mon, 11 Jun 2012 15:58:02 +0000 (17:58 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 12 Jun 2012 05:21:45 +0000 (07:21 +0200)
source4/torture/raw/lookuprate.c
source4/torture/raw/notify.c
source4/torture/raw/open.c
source4/torture/raw/streams.c
source4/torture/raw/unlink.c
source4/torture/rpc/samr.c
source4/torture/smb2/notify.c
source4/torture/smb2/streams.c

index 3b9fbe1cdb1816a39c3cfabb6301cb12e0f9d6fb..7c0251a0f7a8a2b631ef0b594d36cd8a3558cd2a 100644 (file)
@@ -225,7 +225,7 @@ static bool remove_working_directory(struct smbcli_tree *tree,
 
 /* Verify that looking up a file name takes constant time.
  *
- * This test samples the lookup rate for a non-existant filename in a
+ * This test samples the lookup rate for a non-existent filename in a
  * directory, while varying the number of files in the directory. The
  * lookup rate should continue to approximate the lookup rate for the
  * empty directory case.
index 2a16d6ee3c8149977812e959f43c9ba82d456501..d9253f0353bbf0692a07889125e78fa752eb066a 100644 (file)
@@ -189,7 +189,7 @@ static bool test_notify_dir(struct torture_context *mem_ctx,
        notify.nttrans.in.file.fnum = fnum;
        req = smb_raw_changenotify_send(cli->tree, &notify);
 
-       status = smbcli_unlink(cli->tree, BASEDIR "\\nonexistant.txt");
+       status = smbcli_unlink(cli->tree, BASEDIR "\\nonexistent.txt");
        CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
 
        /* (1st unlink) as the 2nd notify directly returns,
@@ -219,7 +219,7 @@ static bool test_notify_dir(struct torture_context *mem_ctx,
        printf("(3rd notify) this notify will only see the 1st unlink\n");
        req = smb_raw_changenotify_send(cli->tree, &notify);
 
-       status = smbcli_unlink(cli->tree, BASEDIR "\\nonexistant.txt");
+       status = smbcli_unlink(cli->tree, BASEDIR "\\nonexistent.txt");
        CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
 
        printf("Testing notify on wildcard unlink for %d files\n", count-1);
index 21cc32eb0943730dbac29e092194cfb796dd7877..145651b41dca12e0110edbf17cf263f5dd672d84 100644 (file)
@@ -1703,7 +1703,7 @@ static bool test_chained_ntcreatex_readx(struct torture_context *tctx, struct sm
        torture_assert(tctx, torture_setup_dir(cli, BASEDIR), "Failed to setup up test directory: " BASEDIR);
 
        torture_comment(tctx, "Checking RAW_NTCREATEX_READX chained on "
-                             "non-existant file \n");
+                             "non-existent file \n");
 
        /* ntcreatex parameters */
        io.generic.level = RAW_OPEN_NTCREATEX_READX;
@@ -1727,7 +1727,7 @@ static bool test_chained_ntcreatex_readx(struct torture_context *tctx, struct sm
        io.ntcreatexreadx.in.remaining = 0;
        io.ntcreatexreadx.out.data = (uint8_t *)buf2;
 
-       /* try to open the non-existant file */
+       /* try to open the non-existent file */
        status = smb_raw_open(cli->tree, mem_ctx, &io);
        CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
        fnum = io.ntcreatexreadx.out.file.fnum;
index 2aace2bd357a4445f6cd0ec8f2293dabdcbbe15b..d48c555d22f3b8f662778786e8b696fb82059f61 100644 (file)
@@ -203,7 +203,7 @@ static bool test_stream_dir(struct torture_context *tctx,
        basedir_data = talloc_asprintf(tctx, "%s::$DATA", BASEDIR);
        sname1 = talloc_asprintf(tctx, "%s:%s", fname, "Stream One");
 
-       printf("(%s) opening non-existant directory stream\n", __location__);
+       printf("(%s) opening non-existent directory stream\n", __location__);
        io.generic.level = RAW_OPEN_NTCREATEX;
        io.ntcreatex.in.root_fid.fnum = 0;
        io.ntcreatex.in.flags = 0;
@@ -282,7 +282,7 @@ static bool test_stream_io(struct torture_context *tctx,
        sname1 = talloc_asprintf(tctx, "%s:%s", fname, "Stream One");
        sname2 = talloc_asprintf(tctx, "%s:%s:$DaTa", fname, "Second Stream");
 
-       printf("(%s) creating a stream on a non-existant file\n", __location__);
+       printf("(%s) creating a stream on a non-existent file\n", __location__);
        io.generic.level = RAW_OPEN_NTCREATEX;
        io.ntcreatex.in.root_fid.fnum = 0;
        io.ntcreatex.in.flags = 0;
@@ -509,7 +509,7 @@ static bool test_stream_delete(struct torture_context *tctx,
 
        sname1 = talloc_asprintf(tctx, "%s:%s", fname, "Stream One");
 
-       printf("(%s) opening non-existant file stream\n", __location__);
+       printf("(%s) opening non-existent file stream\n", __location__);
        io.generic.level = RAW_OPEN_NTCREATEX;
        io.ntcreatex.in.root_fid.fnum = 0;
        io.ntcreatex.in.flags = 0;
index 4ca5406793da94f3415eb9d4208e909c378d7a98..25edb5e045d920cdc27efff339402622d5229dd0 100644 (file)
@@ -48,7 +48,7 @@ static bool test_unlink(struct torture_context *tctx, struct smbcli_state *cli)
 
        torture_assert(tctx, torture_setup_dir(cli, BASEDIR), "Failed to setup up test directory: " BASEDIR);
 
-       printf("Trying non-existant file\n");
+       printf("Trying non-existent file\n");
        io.unlink.in.pattern = fname;
        io.unlink.in.attrib = 0;
        status = smb_raw_unlink(cli->tree, &io);
index bf1d713eed3b08e70eb50ce7940d31433e79b011..a460211e812ecd975c7ce7109e812461aa8d196c 100644 (file)
@@ -7950,7 +7950,7 @@ static bool test_samr_ValidatePassword(struct dcerpc_pipe *p,
        r.out.rep = &repp;
 
        ZERO_STRUCT(req);
-       req.req3.account.string = "non-existant-account-aklsdji";
+       req.req3.account.string = "non-existent-account-aklsdji";
 
        for (i=0; passwords[i]; i++) {
                req.req3.password.string = passwords[i];
index e4e26365e3c223070126ee23a7b171e7f1516d25..7a4e5622d250e02fa6caa5e17c813b22851a29e7 100644 (file)
@@ -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++) {
index 8e7fb220c811eab97ac2d5b9cd3d5b76ce81e587..608b397d3d36244ce1fbc2411fff38cde1fdb5c4 100644 (file)
@@ -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;