werror: replace WERR_SETUP_NOT_JOINED with WERR_NERR_SETUPNOTJOINED in source4/tortur...
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2015 14:24:39 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 27 Sep 2016 22:04:32 +0000 (00:04 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/rpc/wkssvc.c

index 746db4d31c7bbf5ce8db3df3b493fed2d4bcc933..b6eb4da538d80fad501ffc0b935b0adcc1d79442 100644 (file)
@@ -1298,7 +1298,7 @@ static bool test_NetrUnjoinDomain2(struct torture_context *tctx,
 
        switch (join_status) {
                case NET_SETUP_UNJOINED:
-                       expected_err = WERR_SETUP_NOT_JOINED;
+                       expected_err = WERR_NERR_SETUPNOTJOINED;
                        break;
                case NET_SETUP_DOMAIN_NAME:
                case NET_SETUP_UNKNOWN_STATUS: