libyang MAINTENANCE avoid string longer than 4096
diff --git a/tests/utests/schema/test_printer_yin.c b/tests/utests/schema/test_printer_yin.c
index 5c610a7..02a24d3 100644
--- a/tests/utests/schema/test_printer_yin.c
+++ b/tests/utests/schema/test_printer_yin.c
@@ -25,7 +25,9 @@
 {
     struct lys_module *mod;
 
-    const char *orig =
+    char *orig = malloc(8096);
+
+    strcpy(orig,
             "module all {\n"
             "    yang-version 1.1;\n"
             "    namespace \"urn:all\";\n"
@@ -125,7 +127,8 @@
             "        }\n\n"
             "        leaf leaf10 {\n"
             "            type boolean;\n"
-            "        }\n\n"
+            "        }\n\n");
+    strcpy(orig + strlen(orig),
             "        leaf leaf11 {\n"
             "            type enumeration {\n"
             "                enum \"one\";\n"
@@ -261,9 +264,11 @@
             "            in the #define.\";\n"
             "        argument \"name\";\n"
             "    }\n"
-            "}\n";
+            "}\n");
 
-    const char *ori_res =
+    char *ori_res = malloc(8096);
+
+    strcpy(ori_res,
             "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
             "<module name=\"all\"\n"
             "        xmlns=\"urn:ietf:params:xml:ns:yang:yin:1\"\n"
@@ -380,7 +385,8 @@
             "    </choice>\n"
             "    <leaf name=\"leaf10\">\n"
             "      <type name=\"boolean\"/>\n"
-            "    </leaf>\n"
+            "    </leaf>\n");
+    strcpy(ori_res + strlen(ori_res),
             "    <leaf name=\"leaf11\">\n"
             "      <type name=\"enumeration\">\n"
             "        <enum name=\"one\"/>\n"
@@ -509,7 +515,7 @@
             "      </container>\n"
             "    </output>\n"
             "  </rpc>\n"
-            "</module>\n";
+            "</module>\n");
 
     char *printed;
     struct ly_out *out;
@@ -522,6 +528,8 @@
     assert_string_equal(printed, ori_res);
 
     ly_out_free(out, NULL, 1);
+    free(orig);
+    free(ori_res);
 }
 
 static LY_ERR