aboutsummaryrefslogtreecommitdiff
path: root/tests/core/test_01.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/test_01.c')
-rw-r--r--tests/core/test_01.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/core/test_01.c b/tests/core/test_01.c
index 71cde5a207db..8311efbfc87c 100644
--- a/tests/core/test_01.c
+++ b/tests/core/test_01.c
@@ -114,8 +114,6 @@ main (int argc, char **argv)
xo_attr("test-attr", "attr-value");
xo_emit_field_h(NULL, ",leaf-list,quotes", "sku", "%s-%u", "%s-000-%u",
"gum", 1412);
- xo_emit_field_h(NULL, ",leaf-list,quotes", "sku", "%s-%u", "%s-000-%u",
- "sum", 4121);
xo_emit("Connecting to {:host}.{:domain}...\n", "my-box", "example.com");
@@ -257,14 +255,6 @@ main (int argc, char **argv)
"/some/file", (int) 0640, 8, 1,
10, "user", 12, "group");
- /* Test retain flag for dynamic data */
- xo_set_flags(NULL, XOF_RETAIN_ALL);
- char buf[] = "Testing...{:one/%d}...{:two/%d}...{:three/%d}\n";
- xo_emit(buf, 1, 2, 3);
- xo_emit(buf, 1, 2, 3);
- buf[0] = 'X';
- xo_emit(buf, 1, 2, 3);
-
xo_close_container_h(NULL, "top-level");
xo_finish();