Skip to content

Commit

Permalink
s3:torture:delete: reduce indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
obnoxxx committed Aug 9, 2012
1 parent 54e5810 commit 49a2c68
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions source3/torture/torture.c
Original file line number Diff line number Diff line change
Expand Up @@ -4333,16 +4333,14 @@ static bool run_deletetest(int dummy)
cli_close(cli1, fnum1);
goto fail;
correct = False;
} else {
if (!NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED)) {
printf("[11] open of %s should have been denied with ACCESS_DENIED! Got error %s\n", fname, nt_errstr(status));
goto fail;
correct = False;
} else {
printf("eleventh delete on close test succeeded.\n");
}
} else if (!NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED)) {
printf("[11] open of %s should have been denied with ACCESS_DENIED! Got error %s\n", fname, nt_errstr(status));
goto fail;
correct = False;
}

printf("eleventh delete on close test succeeded.\n");

printf("finished delete test\n");

fail:
Expand Down

0 comments on commit 49a2c68

Please sign in to comment.