diff options
author | Jeremy Allison <jra@samba.org> | 2009-04-28 13:18:51 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-04-28 13:18:51 -0700 |
commit | 06e404f5743d1ccce0f4c51ca3ef97927f801a42 (patch) | |
tree | 6110ac31bde76bc2132208d3ec687a1d03a7abcc /source3/torture | |
parent | d47669684dd072b796ebfeb630342456346f449f (diff) | |
download | samba-06e404f5743d1ccce0f4c51ca3ef97927f801a42.tar.gz samba-06e404f5743d1ccce0f4c51ca3ef97927f801a42.tar.bz2 samba-06e404f5743d1ccce0f4c51ca3ef97927f801a42.zip |
Convert cli_posix_unlink() and cli_posix_rmdir()
to async. First trans calls I've done.
Jeremy.
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 49150c3521..ed041f7912 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -4224,7 +4224,7 @@ static bool run_simple_posix_open_test(int dummy) } /* Now unlink while open. */ - if (!cli_posix_unlink(cli1, fname)) { + if (!NT_STATUS_IS_OK(cli_posix_unlink(cli1, fname))) { printf("POSIX unlink of %s failed (%s)\n", fname, cli_errstr(cli1)); goto out; } @@ -4241,7 +4241,7 @@ static bool run_simple_posix_open_test(int dummy) goto out; } - if (!cli_posix_rmdir(cli1, dname)) { + if (!NT_STATUS_IS_OK(cli_posix_rmdir(cli1, dname))) { printf("POSIX rmdir failed (%s)\n", cli_errstr(cli1)); goto out; } |