RAW-CHKPATH: not every server behaves like samba3...
authorStefan Metzmacher <metze@samba.org>
Thu, 18 Dec 2008 07:54:59 +0000 (08:54 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 18 Dec 2008 12:31:41 +0000 (13:31 +0100)
metze

source4/torture/raw/chkpath.c

index b66839b99756be0a7ce42dd623d2145c8418add2..a39993489bbe229c8658d50d477044fe754bda3a 100644 (file)
@@ -306,7 +306,7 @@ static bool test_chkpath_names(struct smbcli_state *cli, struct torture_context
                case '?':/*0x3F*/
                case '|':/*0x7C*/
                        if (i == '/' &&
-                           torture_setting_bool(tctx, "samba3", true)) {
+                           torture_setting_bool(tctx, "samba3", false)) {
                                /* samba 3 handles '/' as '\\' */
                                break;
                        }