1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4/torture: fix >80 column spacing issues

This commit is contained in:
Steven Danneman 2009-12-03 19:32:53 -08:00
parent 0c42d65d7c
commit b4c72e44a8
2 changed files with 10 additions and 9 deletions

View File

@ -71,9 +71,10 @@
#define TARGET_IS_W2K8(_tctx) (torture_setting_bool(_tctx, "w2k8", false))
#define TARGET_IS_WIN7(_tctx) (torture_setting_bool(_tctx, "win7", false))
#define TARGET_IS_WINDOWS(_tctx) ((torture_setting_bool(_tctx, "w2k8", false)) || \
(torture_setting_bool(_tctx, "win7", false)) || \
(torture_setting_bool(_tctx, "w2k3", false)))
#define TARGET_IS_WINDOWS(_tctx) \
((torture_setting_bool(_tctx, "w2k3", false)) || \
(torture_setting_bool(_tctx, "w2k8", false)) || \
(torture_setting_bool(_tctx, "win7", false)))
#define TARGET_IS_SAMBA3(_tctx) (torture_setting_bool(_tctx, "samba3", false))
#define TARGET_IS_SAMBA4(_tctx) (torture_setting_bool(_tctx, "samba4", false))

View File

@ -2626,8 +2626,8 @@ static bool test_overlap(struct torture_context *torture,
NT_STATUS_IS_OK(torture_smb2_testfile(tree, fname, &h)) &&
NT_STATUS_IS_OK(smb2cli_lock(tree, h, 7, 1, true));
EXPECTED(ret, true);
torture_comment(torture, "the server %s have the NT byte range lock bug\n",
!ret?"does":"doesn't");
torture_comment(torture, "the server %s have the NT byte range lock "
"bug\n", !ret?"does":"doesn't");
done:
smb2_util_close(tree2, h3);
@ -2694,8 +2694,8 @@ static bool test_truncate(struct torture_context *torture,
CHECK_STATUS(status, NT_STATUS_OK);
/* On second handle open the file with OVERWRITE disposition */
torture_comment(torture, " overwrite disposition is allowed on a locked "
"file.\n");
torture_comment(torture, " overwrite disposition is allowed on a "
"locked file.\n");
io.in.create_disposition = NTCREATEX_DISP_OVERWRITE;
status = smb2_create(tree, tree, &io);
@ -2704,8 +2704,8 @@ static bool test_truncate(struct torture_context *torture,
smb2_util_close(tree, h2);
/* On second handle open the file with SUPERSEDE disposition */
torture_comment(torture, " supersede disposition is allowed on a locked "
"file.\n");
torture_comment(torture, " supersede disposition is allowed on a "
"locked file.\n");
io.in.create_disposition = NTCREATEX_DISP_SUPERSEDE;
status = smb2_create(tree, tree, &io);