summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-08-12 14:40:01 -0700
committerJeremy Allison <jra@samba.org>2008-08-12 14:40:01 -0700
commit0a60b893352887492c25c996624a70cff0d543d8 (patch)
tree08a99a4354670e59ab0ecac20bd4053d916448c1 /source3/torture
parent03991ab0734ecbb87a75238d1356fbe0e5b1d38d (diff)
downloadsamba-0a60b893352887492c25c996624a70cff0d543d8.tar.gz
samba-0a60b893352887492c25c996624a70cff0d543d8.tar.bz2
samba-0a60b893352887492c25c996624a70cff0d543d8.zip
Merge from Herb. print correct test status
(This used to be commit 8cb7ae011c8b8cb244e9b87a3ad51e27646411b6)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index d8add208f5..75a5b30e30 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -3685,7 +3685,8 @@ 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));