summaryrefslogtreecommitdiffstats
path: root/source/torture
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2008-08-12 13:38:51 -0700
committerKarolin Seeger <kseeger@samba.org>2008-08-13 16:11:36 +0200
commit5a695336462f5a21debdd20b2346c712adbfae6e (patch)
treeeac88b5791cba90db4d831e14ed51a1f8176ad46 /source/torture
parent9fcc15e0307ec1621482101b5730de1a635a191d (diff)
downloadsamba-5a695336462f5a21debdd20b2346c712adbfae6e.tar.gz
samba-5a695336462f5a21debdd20b2346c712adbfae6e.tar.xz
samba-5a695336462f5a21debdd20b2346c712adbfae6e.zip
print correct test status
(cherry picked from commit ccd413b8b10c99f18b6369717116765c3397edfb)
Diffstat (limited to 'source/torture')
-rw-r--r--source/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/torture.c b/source/torture/torture.c
index d8add208f52..e909f8cec81 100644
--- a/source/torture/torture.c
+++ b/source/torture/torture.c
@@ -3685,7 +3685,7 @@ static bool run_rename(int dummy)
}
if (!cli_rename(cli1, fname, fname1)) {
- printf("Fifth rename failed (SHARE_READ | SHARE_WRITE | SHARE_DELETE) - this should have failed ! \n");
+ printf("Fifth rename failed (SHARE_READ | SHARE_WRITE | SHARE_DELETE) - this should have succeeded - %s\n", cli_errstr(cli1));
correct = False;
} else {
printf("Fifth rename succeeded (SHARE_READ | SHARE_WRITE | SHARE_DELETE) (this is correct) - %s\n", cli_errstr(cli1));