From 641a8a25752d6c0faead3939784a3f665de03645 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 2 Oct 2014 17:02:38 +0200 Subject: s4:torture:basic: whitespace cleanup in delayed_write_update1c no diff with git diff -w Signed-off-by: Michael Adam Reviewed-by: Andrew Bartlett --- source4/torture/basic/delaywrite.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c index b75168f472..72102c1ddb 100644 --- a/source4/torture/basic/delaywrite.c +++ b/source4/torture/basic/delaywrite.c @@ -646,7 +646,7 @@ static bool test_delayed_write_update1c(struct torture_context *tctx, struct smb torture_assert_ntstatus_ok(tctx, status, "fileinfo failed"); torture_comment(tctx, "Initial write time %s\n", - nt_time_string(tctx, finfo1.all_info.out.write_time)); + nt_time_string(tctx, finfo1.all_info.out.write_time)); /* Do a SET_ALLOCATION_SIZE call to truncate. */ parms.allocation_info.level = RAW_SFILEINFO_ALLOCATION_INFO; @@ -655,8 +655,8 @@ static bool test_delayed_write_update1c(struct torture_context *tctx, struct smb status = smb_raw_setfileinfo(cli->tree, &parms); - torture_assert_ntstatus_ok(tctx, status, - "RAW_SFILEINFO_ALLOCATION_INFO failed"); + torture_assert_ntstatus_ok(tctx, status, + "RAW_SFILEINFO_ALLOCATION_INFO failed"); start = timeval_current(); end = timeval_add(&start, (120*sec), 0); @@ -679,7 +679,7 @@ static bool test_delayed_write_update1c(struct torture_context *tctx, struct smb } torture_comment(tctx, "write time %s\n", - nt_time_string(tctx, finfo2.all_info.out.write_time)); + nt_time_string(tctx, finfo2.all_info.out.write_time)); if (finfo1.all_info.out.write_time != finfo2.all_info.out.write_time) { double diff = timeval_elapsed(&start); if (diff > (0.25 * (used_delay / (double)1000000))) { @@ -712,8 +712,8 @@ static bool test_delayed_write_update1c(struct torture_context *tctx, struct smb /* Do a non-zero length SMBwrite and make sure it doesn't update the write time. */ written = smbcli_smbwrite(cli->tree, fnum1, "x", 0, 1); - torture_assert_int_equal(tctx, written, 1, - "Unexpected number of bytes written"); + torture_assert_int_equal(tctx, written, 1, + "Unexpected number of bytes written"); start = timeval_current(); end = timeval_add(&start, (10*sec), 0); @@ -734,7 +734,7 @@ static bool test_delayed_write_update1c(struct torture_context *tctx, struct smb } torture_comment(tctx, "write time %s\n", - nt_time_string(tctx, finfo3.all_info.out.write_time)); + nt_time_string(tctx, finfo3.all_info.out.write_time)); if (finfo2.all_info.out.write_time != finfo3.all_info.out.write_time) { double diff = timeval_elapsed(&start); -- cgit