pantoniou / libfyaml

Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
MIT License
241 stars 74 forks source link

One test fails #60

Open yurivict opened 1 year ago

yurivict commented 1 year ago
ERROR: testemitter-streaming.test - missing test plan
ERROR: testemitter-streaming.test - exited with status 127 (command not found?)
============================================================================
Testsuite summary for libfyaml 0.7.12
============================================================================
# TOTAL: 1490
# PASS:  1485
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 2
============================================================================
See test/test-suite.log
Please report to pantelis.antoniou@konsulko.com
============================================================================
FAIL: testerrors
================

1..10
errmsg: :2:1: error: duplicate key
ok 1 0002 - Duplicate key (plain scalar)
PASS: testerrors.test 1 0002 - Duplicate key (plain scalar)
errmsg: :2:2: error: duplicate key
ok 2 0003 - Duplicate key (plain scalar, quoted scalar)
PASS: testerrors.test 2 0003 - Duplicate key (plain scalar, quoted scalar)
errmsg: :3:1: error: duplicate key
ok 3 0004 - Duplicate key (plain scalar, literal scalar)
PASS: testerrors.test 3 0004 - Duplicate key (plain scalar, literal scalar)
errmsg: :2:1: error: duplicate key
ok 4 0005 - Duplicate key (sequence)
PASS: testerrors.test 4 0005 - Duplicate key (sequence)
errmsg: :2:1: error: duplicate key
Segmentation fault
ok 5 0006 - Duplicate key (simple mapping)
PASS: testerrors.test 5 0006 - Duplicate key (simple mapping)
errmsg: 
--- ./test-errors/0007//test.error  2019-12-18 23:13:37.000000000 -0800
+++ /tmp/tmp.TKUbWAy0   2022-11-02 23:53:05.336522000 -0700
@@ -1 +1 @@
-:2:1: error: duplicate key
+
not ok 6 0007 - Duplicate key (complex sorted mapping)
FAIL: testerrors.test 6 0007 - Duplicate key (complex sorted mapping)
errmsg: :1:5: error: invalid alias
ok 7 0008 - Unknown alias
PASS: testerrors.test 7 0008 - Unknown alias
errmsg: :2:9: error: invalid merge key value
ok 8 0009 - Invalid merge key (referencing not a mapping)
PASS: testerrors.test 8 0009 - Invalid merge key (referencing not a mapping)
errmsg: :1:8: error: invalid merge key value
ok 9 0010 - Invalid merge key (not an alias, scalar)
PASS: testerrors.test 9 0010 - Invalid merge key (not an alias, scalar)
errmsg: :2:8: error: invalid merge key value
ok 10 0011 - Invalid merge key (not an alias sequence item)
PASS: testerrors.test 10 0011 - Invalid merge key (not an alias sequence item)

Version: 0.7.12 OS: FreeBSD 13.1