summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-07-06 03:13:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:17 -0500
commit3de3d6a02dfb790af21f6c848a202064922ea780 (patch)
tree03537d72701e60a1ac4c820cbad8e9063e5392d8 /source4/torture/torture.c
parent372f3fae88799ce321342dd976a317a8afc375e2 (diff)
downloadsamba-3de3d6a02dfb790af21f6c848a202064922ea780.tar.gz
samba-3de3d6a02dfb790af21f6c848a202064922ea780.tar.bz2
samba-3de3d6a02dfb790af21f6c848a202064922ea780.zip
r8174: Check DOS error codes in torture chkpath test.
Jeremy. (This used to be commit ff58ecad044dc7a3cdb4c010ea5cc1ea5e2e4b3b)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r--source4/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 935d1211e1..6b993aa7ab 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -2004,7 +2004,7 @@ BOOL torture_chkpath_test(void)
}
if (NT_STATUS_IS_ERR(smbcli_chkpath(cli->tree, "\\chkpath.dir\\bar.txt"))) {
- ret = check_error(__location__, cli, ERRDOS, ERRbadfile,
+ ret = check_error(__location__, cli, ERRDOS, ERRbadpath,
NT_STATUS_OBJECT_NAME_NOT_FOUND);
} else {
printf("* chkpath on a non existent file should fail\n");