Skip to content

Instantly share code, notes, and snippets.

@nd2s
Created April 28, 2016 17:21
Show Gist options
  • Save nd2s/b4a6b0899914230040a501bb8a24258b to your computer and use it in GitHub Desktop.
Save nd2s/b4a6b0899914230040a501bb8a24258b to your computer and use it in GitHub Desktop.
Test project /home/phoenix/libelektra/build
Start 1: testmod_ccode
1/105 Test #1: testmod_ccode ...................... Passed 0.01 sec
Start 2: testmod_conditionals
2/105 Test #2: testmod_conditionals ...............***Failed 0.02 sec
CONDITIONALS TESTS
==================
/home/phoenix/libelektra/src/plugins/conditionals/testmod_conditionals.c:28: error in test_ifthenelseint: error
/home/phoenix/libelektra/src/plugins/conditionals/testmod_conditionals.c:76: error in test_ifthengtint: error
/home/phoenix/libelektra/src/plugins/conditionals/testmod_conditionals.c:93: error in test_ifthenkey: error
/home/phoenix/libelektra/src/plugins/conditionals/testmod_conditionals.c:111: error in test_emptyisempty: error
/home/phoenix/libelektra/src/plugins/conditionals/testmod_conditionals.c:129: error in test_notempty: error
/home/phoenix/libelektra/src/plugins/conditionals/testmod_conditionals.c:199: error in test_assignElse: error setting then value
/home/phoenix/libelektra/src/plugins/conditionals/testmod_conditionals.c:235: error in test_assignKeyElse: error setting then value
testmod_conditionals RESULTS: 90 test(s) done. 7 error(s).
Start 3: testmod_csvstorage
3/105 Test #3: testmod_csvstorage ................. Passed 0.01 sec
Start 4: testmod_curlget
4/105 Test #4: testmod_curlget .................... Passed 0.01 sec
Start 5: testmod_dbus
5/105 Test #5: testmod_dbus ....................... Passed 0.01 sec
Start 6: testmod_dpkg
6/105 Test #6: testmod_dpkg ....................... Passed 0.01 sec
Start 7: testmod_dump
7/105 Test #7: testmod_dump ....................... Passed 0.01 sec
Start 8: testmod_enum
8/105 Test #8: testmod_enum ....................... Passed 0.01 sec
Start 9: testmod_filecheck
9/105 Test #9: testmod_filecheck .................. Passed 0.01 sec
Start 10: testmod_glob
10/105 Test #10: testmod_glob ....................... Passed 0.01 sec
Start 11: testmod_hexcode
11/105 Test #11: testmod_hexcode .................... Passed 0.01 sec
Start 12: testmod_hosts
12/105 Test #12: testmod_hosts ...................... Passed 0.02 sec
Start 13: testmod_iconv
13/105 Test #13: testmod_iconv ...................... Passed 0.01 sec
Start 14: testmod_ini
14/105 Test #14: testmod_ini ........................***Failed 0.03 sec
INI TESTS
==================
Compare <[section1]
>, with <section1/key1 = value1
>
in file /home/phoenix/libelektra/src/plugins/ini/ini/plainini, line 2.
/home/phoenix/libelektra/tests/cframework/tests.c:174: error in compare_line_files: comparing lines failed
/home/phoenix/libelektra/src/plugins/ini/testmod_ini.c:78: error in test_plainIniWrite: files do not match as expected
Compare <[section1]
>, with <section1/key1 = value1
>
in file /home/phoenix/libelektra/src/plugins/ini/ini/emptyval, line 2.
/home/phoenix/libelektra/tests/cframework/tests.c:174: error in compare_line_files: comparing lines failed
/home/phoenix/libelektra/src/plugins/ini/testmod_ini.c:106: error in test_plainIniEmptyWrite: files do not match as expected
Compare <key1 = value1
>, with <[section1]
>
in file /home/phoenix/libelektra/src/plugins/ini/ini/sectionini, line 5.
/home/phoenix/libelektra/tests/cframework/tests.c:174: error in compare_line_files: comparing lines failed
/home/phoenix/libelektra/src/plugins/ini/testmod_ini.c:347: error in test_sectionWrite: files do not match as expected
Compare <[section1]
>, with <section1/key1 = val1
>
in file /home/phoenix/libelektra/src/plugins/ini/ini/sectionmerge.output, line 1.
/home/phoenix/libelektra/tests/cframework/tests.c:174: error in compare_line_files: comparing lines failed
/home/phoenix/libelektra/src/plugins/ini/testmod_ini.c:386: error in test_sectionMerge: files do not match as expected
Compare <[Section1]
>, with <Section1/testkey0 = testval0
>
in file /home/phoenix/libelektra/src/plugins/ini/ini/insertTest.output.ini, line 1.
/home/phoenix/libelektra/tests/cframework/tests.c:174: error in compare_line_files: comparing lines failed
/home/phoenix/libelektra/src/plugins/ini/testmod_ini.c:444: error in test_insertOrder: files do not match as expected
Compare <array = 0
>, with <array = 2
>
in file /home/phoenix/libelektra/src/plugins/ini/ini/arrayInsertOut.ini, line 4.
/home/phoenix/libelektra/tests/cframework/tests.c:174: error in compare_line_files: comparing lines failed
/home/phoenix/libelektra/src/plugins/ini/testmod_ini.c:492: error in test_arrayInsert: files do not match as expected
test_ini RESULTS: 191 test(s) done. 12 error(s).
Start 15: testmod_iterate
15/105 Test #15: testmod_iterate .................... Passed 0.01 sec
Start 16: testmod_keytometa
16/105 Test #16: testmod_keytometa .................. Passed 0.01 sec
Start 17: testmod_line
17/105 Test #17: testmod_line ....................... Passed 0.01 sec
Start 18: testmod_lineendings
18/105 Test #18: testmod_lineendings ................ Passed 0.01 sec
Start 19: testmod_list
19/105 Test #19: testmod_list ....................... Passed 0.01 sec
Start 20: testmod_mathcheck
20/105 Test #20: testmod_mathcheck ..................***Failed 0.01 sec
elektraFtoA: val: 1.5, ret: 1.5
elektraEFtoF: string: 1.5, ret: 1.5
MATHCHECK TESTS
==================
/home/phoenix/libelektra/src/plugins/mathcheck/testmod_mathcheck.c:73: error in main: error
/home/phoenix/libelektra/src/plugins/mathcheck/testmod_mathcheck.c:77: error in main: error
/home/phoenix/libelektra/src/plugins/mathcheck/testmod_mathcheck.c:81: error in main: error
/home/phoenix/libelektra/src/plugins/mathcheck/testmod_mathcheck.c:84: error in main: error
/home/phoenix/libelektra/src/plugins/mathcheck/testmod_mathcheck.c:87: error in main: error
testmod_mathcheck RESULTS: 60 test(s) done. 5 error(s).
Start 21: testmod_network
21/105 Test #21: testmod_network ....................***Failed 0.01 sec
ICONV TESTS
====================
/home/phoenix/libelektra/src/plugins/network/testmod_network.c:27: error in test_addr: could not check ipv4 addr
/home/phoenix/libelektra/src/plugins/network/testmod_network.c:34: error in test_addr: could not check ipv4 addr
/home/phoenix/libelektra/src/plugins/network/testmod_network.c:41: error in test_addr: could not check ipv4 addr
/home/phoenix/libelektra/src/plugins/network/testmod_network.c:48: error in test_addr: could not check ipv4 addr
test_backendhelpers RESULTS: 8 test(s) done. 4 error(s).
Start 22: testmod_ni
22/105 Test #22: testmod_ni ......................... Passed 0.01 sec
Start 23: testmod_profile
23/105 Test #23: testmod_profile .................... Passed 0.01 sec
Start 24: testmod_rename
24/105 Test #24: testmod_rename ..................... Passed 0.01 sec
Start 25: testmod_resolver
25/105 Test #25: testmod_resolver ................... Passed 0.01 sec
Start 26: testmod_shell
26/105 Test #26: testmod_shell ...................... Passed 0.01 sec
Start 27: testmod_spec
27/105 Test #27: testmod_spec ....................... Passed 0.01 sec
Start 28: testmod_type
28/105 Test #28: testmod_type ....................... Passed 0.01 sec
Start 29: testmod_uname
29/105 Test #29: testmod_uname ...................... Passed 0.01 sec
Start 30: testmod_validation
30/105 Test #30: testmod_validation ................. Passed 0.01 sec
Start 31: testmod_xmltool
31/105 Test #31: testmod_xmltool .................... Passed 0.02 sec
Start 32: testtool_automergestrategy
32/105 Test #32: testtool_automergestrategy ......... Passed 0.01 sec
Start 33: testtool_backend
33/105 Test #33: testtool_backend ................... Passed 0.02 sec
Start 34: testtool_backendbuilder
34/105 Test #34: testtool_backendbuilder ............ Passed 0.04 sec
Start 35: testtool_backendparser
35/105 Test #35: testtool_backendparser ............. Passed 0.02 sec
Start 36: testtool_comparison
36/105 Test #36: testtool_comparison ................ Passed 0.01 sec
Start 37: testtool_keyhelper
37/105 Test #37: testtool_keyhelper ................. Passed 0.01 sec
Start 38: testtool_mergecases
38/105 Test #38: testtool_mergecases ................ Passed 0.02 sec
Start 39: testtool_mergeresult
39/105 Test #39: testtool_mergeresult ............... Passed 0.01 sec
Start 40: testtool_mergingkdb
40/105 Test #40: testtool_mergingkdb ................ Passed 0.34 sec
Start 41: testtool_metamergestrategy
41/105 Test #41: testtool_metamergestrategy ......... Passed 0.01 sec
Start 42: testtool_newkeystrategy
42/105 Test #42: testtool_newkeystrategy ............ Passed 0.01 sec
Start 43: testtool_onesidestrategy
43/105 Test #43: testtool_onesidestrategy ........... Passed 0.01 sec
Start 44: testtool_pluginspec
44/105 Test #44: testtool_pluginspec ................ Passed 0.01 sec
Start 45: testtool_samemountpoint
45/105 Test #45: testtool_samemountpoint ............ Passed 0.02 sec
Start 46: testtool_specreader
46/105 Test #46: testtool_specreader ................ Passed 0.02 sec
Start 47: testtool_umount
47/105 Test #47: testtool_umount .................... Passed 0.02 sec
Start 48: testcpp_contextual_basic
48/105 Test #48: testcpp_contextual_basic ........... Passed 0.02 sec
Start 49: testcpp_contextual_nocontext
49/105 Test #49: testcpp_contextual_nocontext ....... Passed 0.01 sec
Start 50: testcpp_contextual_policy
50/105 Test #50: testcpp_contextual_policy .......... Passed 0.01 sec
Start 51: testcpp_contextual_thread
51/105 Test #51: testcpp_contextual_thread .......... Passed 0.28 sec
Start 52: testcpp_contextual_update
52/105 Test #52: testcpp_contextual_update .......... Passed 0.02 sec
Start 53: testcpp_iter
53/105 Test #53: testcpp_iter ....................... Passed 0.01 sec
Start 54: testcpp_iter_name
54/105 Test #54: testcpp_iter_name .................. Passed 0.01 sec
Start 55: testcpp_kdb
55/105 Test #55: testcpp_kdb ........................ Passed 0.02 sec
Start 56: testcpp_key
56/105 Test #56: testcpp_key ........................ Passed 0.01 sec
Start 57: testcpp_ks
57/105 Test #57: testcpp_ks ......................... Passed 0.07 sec
Start 58: testcpp_ksget
58/105 Test #58: testcpp_ksget ...................... Passed 0.01 sec
Start 59: testcpp_meta
59/105 Test #59: testcpp_meta ....................... Passed 0.01 sec
Start 60: testscr_check_basic
60/105 Test #60: testscr_check_basic ................ Passed 0.12 sec
Start 61: testscr_check_distribution
61/105 Test #61: testscr_check_distribution .........***Failed 4.55 sec
ELEKTRA CHECK DISTRIBUTION
Check if script tests the correct version
Testing sibling
Check distribution of system/tests/script/distribution/a1 and system/tests/script/distribution/b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system/tests/script/distribution/a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution/b2
error: resolving of system/tests/script/distribution/a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution/a1 does not exist
error: could not umount system/tests/script/distribution/a1
Mountpoint system/tests/script/distribution/b2 does not exist
error: could not umount system/tests/script/distribution/b2
Check distribution of system//tests/script/distribution/a1 and system//tests/script/distribution/b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system//tests/script/distribution/a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system//tests/script/distribution/b2
error: resolving of system//tests/script/distribution/a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system//tests/script/distribution/a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system//tests/script/distribution/b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system//tests/script/distribution/b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution/a1 does not exist
error: could not umount system//tests/script/distribution/a1
Mountpoint system/tests/script/distribution/b2 does not exist
error: could not umount system//tests/script/distribution/b2
Check distribution of system/////tests/script/distribution///a1 and system//////tests/script/distribution////b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system/////tests/script/distribution///a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system//////tests/script/distribution////b2
error: resolving of system/////tests/script/distribution///a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/////tests/script/distribution///a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system//////tests/script/distribution////b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system//////tests/script/distribution////b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution/a1 does not exist
error: could not umount system/////tests/script/distribution///a1
Mountpoint system/tests/script/distribution/b2 does not exist
error: could not umount system//////tests/script/distribution////b2
Testing direct below
Check distribution of system/tests/script/distribution and system/tests/script/distribution/b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system/tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution/b2
error: resolving of system/tests/script/distribution did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution does not exist
error: could not umount system/tests/script/distribution
Mountpoint system/tests/script/distribution/b2 does not exist
error: could not umount system/tests/script/distribution/b2
Check distribution of system/tests/script/distribution/a1 and system/tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system/tests/script/distribution/a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution
error: resolving of system/tests/script/distribution/a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution/a1 does not exist
error: could not umount system/tests/script/distribution/a1
Mountpoint system/tests/script/distribution does not exist
error: could not umount system/tests/script/distribution
Check distribution of system////tests/script///distribution and system///tests/script///distribution///b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system////tests/script///distribution
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system///tests/script///distribution///b2
error: resolving of system////tests/script///distribution did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system////tests/script///distribution/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system///tests/script///distribution///b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system///tests/script///distribution///b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution does not exist
error: could not umount system////tests/script///distribution
Mountpoint system/tests/script/distribution/b2 does not exist
error: could not umount system///tests/script///distribution///b2
Check distribution of system///tests/script///distribution///a1 and system///tests/script///distribution
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system///tests/script///distribution///a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system///tests/script///distribution
error: resolving of system///tests/script///distribution///a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system///tests/script///distribution///a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system///tests/script///distribution did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system///tests/script///distribution/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution/a1 does not exist
error: could not umount system///tests/script///distribution///a1
Mountpoint system/tests/script/distribution does not exist
error: could not umount system///tests/script///distribution
Testing below
Check distribution of system/tests/script/distribution and system/tests/script/distribution/b2/more/below
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system/tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution/b2/more/below
error: resolving of system/tests/script/distribution did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2/more/below did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2/more/below/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution does not exist
error: could not umount system/tests/script/distribution
Mountpoint system/tests/script/distribution/b2/more/below does not exist
error: could not umount system/tests/script/distribution/b2/more/below
Check distribution of system/tests/script/distribution/a1/more/below and system/tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system/tests/script/distribution/a1/more/below
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution
error: resolving of system/tests/script/distribution/a1/more/below did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/a1/more/below/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution/a1/more/below does not exist
error: could not umount system/tests/script/distribution/a1/more/below
Mountpoint system/tests/script/distribution does not exist
error: could not umount system/tests/script/distribution
Check distribution of system////tests/script////distribution and system///tests/script//distribution/b2///more///below
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system////tests/script////distribution
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system///tests/script//distribution/b2///more///below
error: resolving of system////tests/script////distribution did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system////tests/script////distribution/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system///tests/script//distribution/b2///more///below did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system///tests/script//distribution/b2///more///below/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution does not exist
error: could not umount system////tests/script////distribution
Mountpoint system/tests/script/distribution/b2/more/below does not exist
error: could not umount system///tests/script//distribution/b2///more///below
Check distribution of system////tests/script//distribution///a1/more///below and system///tests/script////distribution
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at system////tests/script//distribution///a1/more///below
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system///tests/script////distribution
error: resolving of system////tests/script//distribution///a1/more///below did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system////tests/script//distribution///a1/more///below/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system///tests/script////distribution did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system///tests/script////distribution/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint system/tests/script/distribution/a1/more/below does not exist
error: could not umount system////tests/script//distribution///a1/more///below
Mountpoint system/tests/script/distribution does not exist
error: could not umount system///tests/script////distribution
Excluded tests with root, set WRITE_TO_SYSTEM=YES to include them
Testing cascading with normal
Check distribution of /tests/script/distribution/a1 and system/tests/script/distribution/b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at /tests/script/distribution/a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution/b2
Using name system/tests/script/distribution/a1
error: resolving of /tests/script/distribution/a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/a1/xxx
error: resolving of /tests/script/distribution/a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint /tests/script/distribution/a1 does not exist
error: could not umount /tests/script/distribution/a1
Mountpoint system/tests/script/distribution/b2 does not exist
error: could not umount system/tests/script/distribution/b2
Check distribution of /tests/script/distribution and system/tests/script/distribution/b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at /tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution/b2
Using name system/tests/script/distribution
error: resolving of /tests/script/distribution did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/xxx
error: resolving of /tests/script/distribution/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint /tests/script/distribution does not exist
error: could not umount /tests/script/distribution
Mountpoint system/tests/script/distribution/b2 does not exist
error: could not umount system/tests/script/distribution/b2
Check distribution of /tests/script/distribution/a1 and system/tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at /tests/script/distribution/a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution
Using name system/tests/script/distribution/a1
error: resolving of /tests/script/distribution/a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/a1/xxx
error: resolving of /tests/script/distribution/a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint /tests/script/distribution/a1 does not exist
error: could not umount /tests/script/distribution/a1
Mountpoint system/tests/script/distribution does not exist
error: could not umount system/tests/script/distribution
Check distribution of /tests/script/distribution/a1//deep///below and system/tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at /tests/script/distribution/a1//deep///below
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at system/tests/script/distribution
Using name system/tests/script/distribution/a1/deep/below
error: resolving of /tests/script/distribution/a1//deep///below did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/a1/deep/below/xxx
error: resolving of /tests/script/distribution/a1//deep///below/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution did not yield /tmp/file2 but /etc/kdb/default.ecf
error: resolving of system/tests/script/distribution/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint /tests/script/distribution/a1/deep/below does not exist
error: could not umount /tests/script/distribution/a1//deep///below
Mountpoint system/tests/script/distribution does not exist
error: could not umount system/tests/script/distribution
Testing cascading with cascading
Check distribution of /tests/script/distribution/a1 and /tests/script/distribution/b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at /tests/script/distribution/a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at /tests/script/distribution/b2
Using name system/tests/script/distribution/a1
error: resolving of /tests/script/distribution/a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/a1/xxx
error: resolving of /tests/script/distribution/a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/b2
error: resolving of /tests/script/distribution/b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/b2/xxx
error: resolving of /tests/script/distribution/b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint /tests/script/distribution/a1 does not exist
error: could not umount /tests/script/distribution/a1
Mountpoint /tests/script/distribution/b2 does not exist
error: could not umount /tests/script/distribution/b2
Check distribution of /tests/script/distribution and /tests/script/distribution/b2
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at /tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at /tests/script/distribution/b2
Using name system/tests/script/distribution
error: resolving of /tests/script/distribution did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/xxx
error: resolving of /tests/script/distribution/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/b2
error: resolving of /tests/script/distribution/b2 did not yield /tmp/file2 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/b2/xxx
error: resolving of /tests/script/distribution/b2/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint /tests/script/distribution does not exist
error: could not umount /tests/script/distribution
Mountpoint /tests/script/distribution/b2 does not exist
error: could not umount /tests/script/distribution/b2
Check distribution of /tests/script/distribution/a1 and /tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at /tests/script/distribution/a1
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at /tests/script/distribution
Using name system/tests/script/distribution/a1
error: resolving of /tests/script/distribution/a1 did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/a1/xxx
error: resolving of /tests/script/distribution/a1/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution
error: resolving of /tests/script/distribution did not yield /tmp/file2 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/xxx
error: resolving of /tests/script/distribution/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint /tests/script/distribution/a1 does not exist
error: could not umount /tests/script/distribution/a1
Mountpoint /tests/script/distribution does not exist
error: could not umount /tests/script/distribution
Check distribution of /tests/script/distribution/a1//deep///below and /tests/script/distribution
Segmentation fault (core dumped)
error: could not mount 1: /tmp/file1 at /tests/script/distribution/a1//deep///below
Segmentation fault (core dumped)
error: could not mount 2: /tmp/file2 at /tests/script/distribution
Using name system/tests/script/distribution/a1/deep/below
error: resolving of /tests/script/distribution/a1//deep///below did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/a1/deep/below/xxx
error: resolving of /tests/script/distribution/a1//deep///below/xxx did not yield /tmp/file1 but /etc/kdb/default.ecf
Using name system/tests/script/distribution
error: resolving of /tests/script/distribution did not yield /tmp/file2 but /etc/kdb/default.ecf
Using name system/tests/script/distribution/xxx
error: resolving of /tests/script/distribution/xxx did not yield /tmp/file2 but /etc/kdb/default.ecf
grep: /tmp/file1: No such file or directory
error: did not find value111111 within /tmp/file1
grep: /tmp/file2: No such file or directory
error: did not find value222222 within /tmp/file2
Mountpoint /tests/script/distribution/a1/deep/below does not exist
error: could not umount /tests/script/distribution/a1//deep///below
Mountpoint /tests/script/distribution does not exist
error: could not umount /tests/script/distribution
testscr_check_distribution.sh RESULTS: 344 test(s) done 190 error(s).
Start 62: testscr_check_error
62/105 Test #62: testscr_check_error ................***Failed 0.32 sec
ELEKTRA CHECK ERROR
Check if script tests the correct version
find: -quit: unknown option
find: -quit: unknown option
error: could not mount root: test_error_root.ecf at /test/script
Testing operations on errornous backends
error: could not mount error at /test/script/error
error: Was able to move to error plugin
error: Triggered error did not occur
error: Error does not stem from error plugin
error: cant ls user/test/script (may mean that user/test/script folder is not clean)
error: Important data lost
error: Triggered error did not occur
error: Error does not stem from error plugin
error: cant ls user/test/script (may mean that user/test/script folder is not clean)
error: data would have been lost
Mountpoint /test/script/error does not exist
error: could not umount /test/script/error
Mountpoint /test/script does not exist
error: could not umount /test/script
testscr_check_error.sh RESULTS: 20 test(s) done 13 error(s).
Start 63: testscr_check_export
63/105 Test #63: testscr_check_export ............... Passed 1.47 sec
Start 64: testscr_check_external
64/105 Test #64: testscr_check_external ............. Passed 0.07 sec
Start 65: testscr_check_get_set
65/105 Test #65: testscr_check_get_set ..............***Failed 0.20 sec
ELEKTRA BASIC COMMAND SCRIPTS TESTS
Check if script tests the correct version
ccode not a read-write storage
conditionals not a read-write storage
constants not a read-write storage
counter not a read-write storage
csvstorage not a read-write storage
curlget not a read-write storage
dbus not a read-write storage
dpkg not a read-write storage
-- Testing dump
find: -quit: unknown option
find: -quit: unknown option
Segmentation fault (core dumped)
fatal (no cleanup): could not mount test.dump at /tests/script using dump
Start 66: testscr_check_import
66/105 Test #66: testscr_check_import ............... Passed 3.78 sec
Start 67: testscr_check_kdb_internal_check
67/105 Test #67: testscr_check_kdb_internal_check ... Passed 0.80 sec
Start 68: testscr_check_kdb_internal_suite
68/105 Test #68: testscr_check_kdb_internal_suite ...***Failed 0.20 sec
ELEKTRA KDB INTERNAL TEST SUITE
Check if script tests the correct version
ccode not a read-write storage
conditionals not a read-write storage
constants not a read-write storage
counter not a read-write storage
csvstorage not a read-write storage
curlget not a read-write storage
dbus not a read-write storage
dpkg not a read-write storage
find: -quit: unknown option
find: -quit: unknown option
Segmentation fault (core dumped)
fatal (no cleanup): could not mount test.dump at /tests/script using dump
Start 69: testscr_check_merge
69/105 Test #69: testscr_check_merge ................ Passed 0.63 sec
Start 70: testscr_check_mount
70/105 Test #70: testscr_check_mount ................***Failed 0.46 sec
ELEKTRA MOUNT TESTS
Check if script tests the correct version
Test basic mounting
Segmentation fault (core dumped)
error: could not mount root: _root.ecf at /test/script/mount
Mountpoint /test/script/mount does not exist
error: could not unmount previously mounted mountpoint
Mountpoint /test/script/mount does not exist
Test mounting plugin stack
Segmentation fault (core dumped)
error: could not mount glob and hosts plugin together
Mountpoint /test/script/mount does not exist
error: could not unmount previously mounted mountpoint
Test simple mount configuration
Segmentation fault (core dumped)
error: could not mount glob and hosts plugin together
Did not find keyerror: config key was not set correctly
Mountpoint /test/script/mount does not exist
error: could not unmount previously mounted mountpoint
Test multiple mount configurations
Segmentation fault (core dumped)
error: could not mount glob and hosts plugin together
Did not find keyerror: config key was not set correctly
Test remounting the existing mount
Invalid arguments passed: could not find the mountpoint "/test/script/mount"
Usage: /home/phoenix/libelektra/build/bin/kdb-full remount <new filename> <new path> <existing mountpoint>
Remount an existing backend with a different filename.
-d --debug Give debug information or ask debug questions (in interactive mode).
-H --help Show the man page.
-i --interactive Ask the user interactively.
-p --profile <name> Use a different profile for kdb configuration
-V --version Print version info.
error: could not remount previous mountpoint
Mountpoint /test/script/mount does not exist
error: could not unmount previously mounted mountpoint
error: glob plugin does not exist in the remounted mountpoint
error: hosts plugin does not exist in the remounted mountpoint
Testing unmount via path
Mountpoint /test/script/remount does not exist
error: unable to unmount /test/script/remount
testscr_check_mount.sh RESULTS: 22 test(s) done 14 error(s).
Start 71: testscr_check_plugins
71/105 Test #71: testscr_check_plugins .............. Passed 1.10 sec
Start 72: testscr_check_race
72/105 Test #72: testscr_check_race ................. Passed 0.04 sec
Start 73: testscr_check_real_world
73/105 Test #73: testscr_check_real_world ...........***Failed 1.19 sec
ELEKTRA CHECK REAL WORLD SUITE
Check if script tests the correct version
find: -quit: unknown option
find: -quit: unknown option
Segmentation fault (core dumped)
error: could not mount root: test_real_world_root.ecf at /test/script
Segmentation fault (core dumped)
error: could not mount SYS: test_real_world_sys.ni at /test/script/sys
Segmentation fault (core dumped)
error: could not mount hosts: test_real_world_hosts at /test/script/sys/hosts/hosts
Segmentation fault (core dumped)
error: could not mount uname: test_real_world_uname at system/test/script/sys/uname
error: machine key missing
error: nodename key missing
error: release key missing
error: sysname key missing
error: version key missing
Did not find key
error: could not get machine key
error: mountpoint /test/script missing
error: mountpoint /test/script/sys missing
error: mountpoint /test/script/sys/hosts missing
Mountpoint system/test/script/sys/uname does not exist
error: could not umount system/test/script/sys/uname
error: mountpoint /test/script/sys/hosts missing
Mountpoint /test/script/sys/hosts does not exist
error: could not umount /test/script/sys/hosts
Mountpoint /test/script/sys does not exist
error: could not umount /test/script/sys
Mountpoint /test/script does not exist
error: could not umount /test/script
testscr_check_real_world.sh RESULTS: 76 test(s) done 18 error(s).
Start 74: testscr_check_resolver
74/105 Test #74: testscr_check_resolver .............***Failed 0.75 sec
ELEKTRA CHECK RESOLVER
Check if script tests the correct version
dump available
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with app/config_file
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with /a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with /a/b
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant x is missing, for x with a/b
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver /app/config_file spec/test/script dump
For spec w /app/config_file we got /usr/local/share/elektra/specification/default.ecf
error: resolving of spec/test/script did not yield /C/app/config_file but /usr/local/share/elektra/specification/default.ecf
Mountpoint spec/test/script does not exist
error: could not umount spec/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver app/config_file spec/test/script dump
For spec w app/config_file we got /usr/local/share/elektra/specification/default.ecf
error: resolving of spec/test/script did not yield /C/usr/local/share/elektra/specification/app/config_file but /usr/local/share/elektra/specification/default.ecf
Mountpoint spec/test/script does not exist
error: could not umount spec/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver /app/config_file system/test/script dump
For system w /app/config_file we got /etc/kdb/default.ecf
error: resolving of system/test/script did not yield /C/app/config_file but /etc/kdb/default.ecf
Mountpoint system/test/script does not exist
error: could not umount system/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver app/config_file system/test/script dump
For system w app/config_file we got /etc/kdb/default.ecf
error: resolving of system/test/script did not yield /C/etc/kdb/app/config_file but /etc/kdb/default.ecf
Mountpoint system/test/script does not exist
error: could not umount system/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver /app/config_file user/test/script dump
For user w /app/config_file we got /D/.config/default.ecf
error: resolving of user/test/script did not yield /D//app/config_file but /D/.config/default.ecf
Mountpoint user/test/script does not exist
error: could not umount user/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver app/config_file user/test/script dump
For user w app/config_file we got /D/.config/default.ecf
error: resolving of user/test/script did not yield /D/app/config_file but /D/.config/default.ecf
Mountpoint user/test/script does not exist
error: could not umount user/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver /a dir/test/script dump
For dir w /a we got /tmp/.dir/default.ecf
error: resolving of dir/test/script did not yield /tmp//a but /tmp/.dir/default.ecf
Mountpoint dir/test/script does not exist
error: could not umount dir/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver /a/b dir/test/script dump
For dir w /a/b we got /tmp/.dir/default.ecf
error: resolving of dir/test/script did not yield /tmp//a/b but /tmp/.dir/default.ecf
Mountpoint dir/test/script does not exist
error: could not umount dir/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver a dir/test/script dump
For dir w a we got /tmp/.dir/default.ecf
error: resolving of dir/test/script did not yield /tmp/a but /tmp/.dir/default.ecf
Mountpoint dir/test/script does not exist
error: could not umount dir/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
Segmentation fault (core dumped)
error: could not mount root using: /home/phoenix/libelektra/build/bin/kdb-full mount --resolver wresolver a/b dir/test/script dump
For dir w a/b we got /tmp/.dir/default.ecf
error: resolving of dir/test/script did not yield /tmp/a/b but /tmp/.dir/default.ecf
Mountpoint dir/test/script does not exist
error: could not umount dir/test/script
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x/a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a/b/c
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x/a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /x
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /x/a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x/a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x/a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a/b/c
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with x/a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a/b
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with a/b
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a/b
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with a/b
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with /a/b
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with a
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant b is missing, for b with a/b
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant h is missing, for h with x
grep: unknown option -- m
usage: grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--context[=num]]
[--line-buffered] [pattern] [file ...]
skipping test because plugin variant u is missing, for u with abc
testscr_check_resolver.sh RESULTS: 32 test(s) done 46 skipped 30 error(s).
Start 75: testscr_check_spec
75/105 Test #75: testscr_check_spec .................***Failed 0.26 sec
ELEKTRA SPEC TESTS
Check if script tests the correct version
+ echo Test specification get
Test specification get
+ ROOT_FILE=spec_tests.ecf
+ ROOT_MOUNTPOINT=/test/script/spec
+ is_plugin_available dump
+ /home/phoenix/libelektra/build/bin/kdb-full mount spec_tests.ecf /test/script/spec dump
+ > /dev/null
Segmentation fault (core dumped)
+ succeed_if could not mount root: spec_tests.ecf at /test/script/spec
error: could not mount root: spec_tests.ecf at /test/script/spec
+ /home/phoenix/libelektra/build/bin/kdb-full file -n system/test/script/spec
+ SYSTEM_FILE=/etc/kdb/default.ecf
+ [ ! -f /etc/kdb/default.ecf ]
+ exit_if_fail System File /etc/kdb/default.ecf already exists
+ /home/phoenix/libelektra/build/bin/kdb-full mount spec_tests.ecf spec/test/script/spec dump
+ > /dev/null
Segmentation fault (core dumped)
+ succeed_if could not mount spec root: spec_tests.ecf at spec/test/script/spec
error: could not mount spec root: spec_tests.ecf at spec/test/script/spec
+ /home/phoenix/libelektra/build/bin/kdb-full file -n spec/test/script/spec
+ SPEC_FILE=/usr/local/share/elektra/specification/default.ecf
+ [ ! -f /usr/local/share/elektra/specification/default.ecf ]
+ exit_if_fail Spec File /usr/local/share/elektra/specification/default.ecf already exists
+ /home/phoenix/libelektra/build/bin/kdb-full get /test/script/spec
Did not find key
+ [ 1 != 0 ]
+ succeed_if getting cascading should fail if nothing is there
+ /home/phoenix/libelektra/build/bin/kdb-full set spec/test/script/spec/test
+ > /dev/null
The command set failed while accessing the key database with the info:
1 Warning was issued:
Warning number: 36
Description: could not unlink file
Ingroup: plugin
Module: resolver
At: /home/phoenix/libelektra/src/plugins/resolver/resolver.c:1054
Reason: the file "/usr/local/share/elektra/specification/default.ecf.30730:1461863904.190392.tmp" because of "No such file or directory"
Mountpoint: spec
Configfile: /usr/local/share/elektra/specification/default.ecf.30730:1461863904.190392.tmp
Error (#75) occurred!
Description: Could not open file for writing.
Ingroup: plugin
Module: storage
At: /home/phoenix/libelektra/src/plugins/dump/dump.cpp:233
Reason: No such file or directory
Mountpoint: spec
Configfile: /usr/local/share/elektra/specification/default.ecf.30730:1461863904.190392.tmp
+ succeed_if could not create key
error: could not create key
+ /home/phoenix/libelektra/build/bin/kdb-full get /test/script/spec
Did not find key
+ [ 1 != 0 ]
+ succeed_if getting cascading should fail if nothing is there
+ /home/phoenix/libelektra/build/bin/kdb-full setmeta spec/test/script/spec/first default 20
The command setmeta failed while accessing the key database with the info:
1 Warning was issued:
Warning number: 36
Description: could not unlink file
Ingroup: plugin
Module: resolver
At: /home/phoenix/libelektra/src/plugins/resolver/resolver.c:1054
Reason: the file "/usr/local/share/elektra/specification/default.ecf.30551:1461863904.219564.tmp" because of "No such file or directory"
Mountpoint: spec
Configfile: /usr/local/share/elektra/specification/default.ecf.30551:1461863904.219564.tmp
Error (#75) occurred!
Description: Could not open file for writing.
Ingroup: plugin
Module: storage
At: /home/phoenix/libelektra/src/plugins/dump/dump.cpp:233
Reason: No such file or directory
Mountpoint: spec
Configfile: /usr/local/share/elektra/specification/default.ecf.30551:1461863904.219564.tmp
+ succeed_if could not set meta
error: could not set meta
+ /home/phoenix/libelektra/build/bin/kdb-full get /test/script/spec/first
Did not find key+ [ x = x20 ]
+ succeed_if could not get default value
error: could not get default value
+ /home/phoenix/libelektra/build/bin/kdb-full umount /test/script/spec
Mountpoint /test/script/spec does not exist
+ succeed_if could not unmount previously mounted mountpoint
error: could not unmount previously mounted mountpoint
+ /home/phoenix/libelektra/build/bin/kdb-full umount spec/test/script/spec
Mountpoint spec/test/script/spec does not exist
+ succeed_if could not unmount previously mounted spec mountpoint
error: could not unmount previously mounted spec mountpoint
+ rm -f /etc/kdb/default.ecf
+ rm -f /usr/local/share/elektra/specification/default.ecf
+ echo Test mounting plugin stack
Test mounting plugin stack
+ end_script spec tests
testscr_check_spec.sh RESULTS: 13 test(s) done 7 error(s).
Start 76: testscr_generate_data
76/105 Test #76: testscr_generate_data .............. Passed 0.01 sec
Start 77: testabi_key
77/105 Test #77: testabi_key ........................ Passed 0.02 sec
Start 78: testabi_ks
78/105 Test #78: testabi_ks ......................... Passed 0.07 sec
Start 79: testabi_meta
79/105 Test #79: testabi_meta ....................... Passed 0.01 sec
Start 80: testabi_rel
80/105 Test #80: testabi_rel ........................ Passed 0.01 sec
Start 81: test_args
81/105 Test #81: test_args .......................... Passed 0.01 sec
Start 82: test_array
82/105 Test #82: test_array ......................... Passed 0.01 sec
Start 83: test_backend
83/105 Test #83: test_backend ....................... Passed 0.01 sec
Start 84: test_internal
84/105 Test #84: test_internal ...................... Passed 0.01 sec
Start 85: test_key
85/105 Test #85: test_key ........................... Passed 0.06 sec
Start 86: test_keyname
86/105 Test #86: test_keyname ....................... Passed 0.01 sec
Start 87: test_ks
87/105 Test #87: test_ks ............................ Passed 0.01 sec
Start 88: test_meta
88/105 Test #88: test_meta .......................... Passed 0.01 sec
Start 89: test_mount
89/105 Test #89: test_mount ......................... Passed 0.01 sec
Start 90: test_mountsplit
90/105 Test #90: test_mountsplit .................... Passed 0.01 sec
Start 91: test_namespace
91/105 Test #91: test_namespace ..................... Passed 0.01 sec
Start 92: test_operation
92/105 Test #92: test_operation ..................... Passed 0.01 sec
Start 93: test_order
93/105 Test #93: test_order ......................... Passed 0.01 sec
Start 94: test_plugin
94/105 Test #94: test_plugin ........................ Passed 0.01 sec
Start 95: test_proposal
95/105 Test #95: test_proposal ...................... Passed 0.01 sec
Start 96: test_size
96/105 Test #96: test_size .......................... Passed 0.01 sec
Start 97: test_spec
97/105 Test #97: test_spec .......................... Passed 0.01 sec
Start 98: test_split
98/105 Test #98: test_split ......................... Passed 0.01 sec
Start 99: test_splitget
99/105 Test #99: test_splitget ...................... Passed 0.01 sec
Start 100: test_trie
100/105 Test #100: test_trie .......................... Passed 0.01 sec
Start 101: test_splitset
101/105 Test #101: test_splitset ...................... Passed 0.01 sec
Start 102: testkdb_allplugins
102/105 Test #102: testkdb_allplugins ................. Passed 0.07 sec
Start 103: testkdb_conflict
103/105 Test #103: testkdb_conflict ................... Passed 0.70 sec
Start 104: testkdb_nested
104/105 Test #104: testkdb_nested ..................... Passed 0.48 sec
Start 105: testkdb_simple
105/105 Test #105: testkdb_simple ..................... Passed 0.74 sec
89% tests passed, 12 tests failed out of 105
Label Time Summary:
kdbtests = 17.95 sec (22 tests)
memleak = 15.98 sec (19 tests)
Total Test time (real) = 19.89 sec
The following tests FAILED:
2 - testmod_conditionals (Failed)
14 - testmod_ini (Failed)
20 - testmod_mathcheck (Failed)
21 - testmod_network (Failed)
61 - testscr_check_distribution (Failed)
62 - testscr_check_error (Failed)
65 - testscr_check_get_set (Failed)
68 - testscr_check_kdb_internal_suite (Failed)
70 - testscr_check_mount (Failed)
73 - testscr_check_real_world (Failed)
74 - testscr_check_resolver (Failed)
75 - testscr_check_spec (Failed)
Errors while running CTest
*** Error 8 in . (tests/CMakeFiles/run_all.dir/build.make:57 'tests/CMakeFiles/run_all': /usr/local/bin/ctest --force-new-ctest-process --ou...)
*** Error 1 in . (CMakeFiles/Makefile2:12400 'tests/CMakeFiles/run_all.dir/all')
*** Error 1 in . (CMakeFiles/Makefile2:12407 'tests/CMakeFiles/run_all.dir/rule')
*** Error 1 in /home/phoenix/libelektra/build (Makefile:3666 'run_all')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment