s4/torture: spelling fix in vfs_fruit test
authorRalph Boehme <slow@samba.org>
Fri, 12 Jan 2018 11:29:17 +0000 (12:29 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 7 Apr 2018 00:11:20 +0000 (02:11 +0200)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/vfs/fruit.c

index d7bdf674c13c89b2fdadda2875dcecee0ca6956e..9310d05113139ed1b1340668d70a07791f848cf9 100644 (file)
@@ -1264,7 +1264,7 @@ static bool enable_aapl(struct torture_context *tctx,
        DATA_BLOB data;
        struct smb2_create_blob *aapl = NULL;
        uint32_t aapl_server_caps;
-       uint32_t expexted_scaps = (SMB2_CRTCTX_AAPL_UNIX_BASED |
+       uint32_t expected_scaps = (SMB2_CRTCTX_AAPL_UNIX_BASED |
                                   SMB2_CRTCTX_AAPL_SUPPORTS_READ_DIR_ATTR |
                                   SMB2_CRTCTX_AAPL_SUPPORTS_NFS_ACE |
                                   SMB2_CRTCTX_AAPL_SUPPORTS_OSX_COPYFILE);
@@ -1323,7 +1323,7 @@ static bool enable_aapl(struct torture_context *tctx,
        }
 
        aapl_server_caps = BVAL(aapl->data.data, 16);
-       torture_assert_goto(tctx, aapl_server_caps == expexted_scaps,
+       torture_assert_goto(tctx, aapl_server_caps == expected_scaps,
                            ret, done, "bad AAPL caps");
 
 done: