diff options
author | Volker Lendecke <vl@samba.org> | 2012-09-13 16:52:44 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-09-25 07:22:43 -0700 |
commit | f01013b1a47b3dcd6e8099fe69895136e5bab5ad (patch) | |
tree | 5b1c1f6f7ba8f3595ae73bf34724c595d0c1098e /source4 | |
parent | 456f821626b50e20acc943c7586f1e1cff40f25f (diff) | |
download | samba-f01013b1a47b3dcd6e8099fe69895136e5bab5ad.tar.gz |
s4-torture: Fix some nonemtpy blank lines
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/basic/delaywrite.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c index 15482d8bc0..23a17d5a7a 100644 --- a/source4/torture/basic/delaywrite.c +++ b/source4/torture/basic/delaywrite.c @@ -1262,42 +1262,42 @@ static bool test_finfo_after_write(struct torture_context *tctx, struct smbcli_s ret = false; goto done; } - + written = smbcli_write(cli2->tree, fnum2, 0, "x", 0, 1); - + if (written != 1) { torture_result(tctx, TORTURE_FAIL, __location__": written gave %d - should have been 1", (int)written); ret = false; goto done; } - + finfo2.basic_info.level = RAW_FILEINFO_BASIC_INFO; finfo2.basic_info.in.file.path = fname; - + status = smb_raw_pathinfo(cli2->tree, tctx, &finfo2); - + if (!NT_STATUS_IS_OK(status)) { torture_result(tctx, TORTURE_FAIL, __location__": fileinfo failed: %s", nt_errstr(status)); ret = false; goto done; } - + if (finfo1.basic_info.out.create_time != finfo2.basic_info.out.create_time) { torture_result(tctx, TORTURE_FAIL, __location__": create_time changed"); ret = false; goto done; } - + if (finfo1.basic_info.out.access_time != finfo2.basic_info.out.access_time) { torture_result(tctx, TORTURE_FAIL, __location__": access_time changed"); ret = false; goto done; } - + if (finfo1.basic_info.out.write_time != finfo2.basic_info.out.write_time) { torture_result(tctx, TORTURE_FAIL, __location__": write_time changed:\n" @@ -1307,19 +1307,19 @@ static bool test_finfo_after_write(struct torture_context *tctx, struct smbcli_s ret = false; goto done; } - + if (finfo1.basic_info.out.change_time != finfo2.basic_info.out.change_time) { torture_result(tctx, TORTURE_FAIL, __location__": change_time changed"); ret = false; goto done; } - + /* One of the two following calls updates the qpathinfo. */ - + /* If you had skipped the smbcli_write on fnum2, it would * *not* have updated the stat on disk */ - + smbcli_close(cli2->tree, fnum2); cli2 = NULL; |