Open
Description
Since 79a5da3 I'm getting the following test failure:
63/63 Test #61: yanglint_interactive ..............***Failed 8.56 sec
Tests running in interp: /nix/store/vkxvc58f4yikbbqna4sps9dxq1qbrrrr-tcl-8.6.15/bin/tclsh
Tests located in: /home/jkt/work/cesnet/gerrit/github/CESNET/libyang/tests/yanglint/interactive
Tests running in: /home/jkt/work/prog/_build/czechlight-clang19-asan-ubsan/libyang/tests/yanglint
Temporary files stored in /home/jkt/work/prog/_build/czechlight-clang19-asan-ubsan/libyang/tests/yanglint
Test files run in separate interpreters
Running tests that match: *
Skipping test files that match: l.*.test
Only running test files that match: *.test
Tests began at Tue May 06 12:12:03 CEST 2025
add.test
clear.test
completion.test
data_default.test
data_format.test
data_in_format.test
data_merge.test
data_not_strict.test
data_operational.test
data_present.test
data_type.test
data_xpath.test
extdata.test
feature.test
list.test
load.test
print.test
searchpath.test
==== searchpath_clear searchpath --clear FAILED
==== Contents of test case:
ly_cmd "searchpath $mdir"
ly_cmd "searchpath --clear"
ly_cmd_err "load modleaf" "Data model \"modleaf\" not found in local searchdirs"
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: unexpected output:
libyang[0]: Loading "modleaf" module failed, not found.
>
while executing
"error "unexpected output:\n$expect_out(buffer)""
invoked from within
"expect {
-re "YANGLINT\\\[E\\\]: .*${pattern}.*\r\n${prompt}$" {}
-re "libyang\\\[\[0-9]+\\\]: .*${pattern}.*\r\n${prompt}$" {}
..."
(procedure "ly_cmd_err" line 7)
invoked from within
"ly_cmd_err "load modleaf" "Data model \"modleaf\" not found in local searchdirs""
("uplevel" body line 3)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== searchpath_clear FAILED
Tests ended at Tue May 06 12:12:12 CEST 2025
all.tcl: Total 116 Passed 113 Skipped 2 Failed 1
Sourced 18 Test Files.
Files with failing tests: searchpath.test
Number of tests skipped for each constraint:
2 !ctest