Test output for augeas [ok]
Testing time: 9s
/home/mario/local/chicken-4.8.0.3/bin/csi -script run.scm < /dev/null -- testing exists ------------------------------------------------------------ existent ............................................................. [ PASS] existent node with no value .......................................... [ PASS] non-existent ......................................................... [ PASS] 3 tests completed in 0.001 seconds. 3 out of 3 (100%) tests passed. -- done testing exists ------------------------------------------------------- -- testing get --------------------------------------------------------------- get hosts/ipaddr ..................................................... [ PASS] get missing node ..................................................... [ PASS] get too many matches ................................................. [ PASS] get invalid path expression .......................................... [ PASS] 4 tests completed in 0.001 seconds. 4 out of 4 (100%) tests passed. -- done testing get ---------------------------------------------------------- -- testing match ------------------------------------------------------------- match count hosts/*/ipaddr ........................................... [ PASS] match hosts/*/ipaddr ................................................. [ PASS] match hosts .......................................................... [ PASS] 3 tests completed in 0.001 seconds. 3 out of 3 (100%) tests passed. -- done testing match -------------------------------------------------------- -- testing init -------------------------------------------------------------- save default ......................................................... [ PASS] save overwrite ....................................................... [ PASS] save noop ............................................................ [ PASS] save newfile ......................................................... [ PASS] save backup .......................................................... [ PASS] do not load files (no-load) .......................................... [ PASS] do not load files or modules (no-load + no-module-autoload) .......... [ PASS] span disabled by default ............................................. [ PASS] span enabled ......................................................... [ PASS] 9 tests completed in 0.543 seconds. 9 out of 9 (100%) tests passed. -- done testing init --------------------------------------------------------- -- testing set --------------------------------------------------------------- assert nonexistent ................................................... [ PASS] set! ................................................................. [ PASS] get .................................................................. [ PASS] set! > 1 match ....................................................... [ PASS] 4 tests completed in 0.0 seconds. 4 out of 4 (100%) tests passed. -- done testing set ---------------------------------------------------------- -- testing rm ---------------------------------------------------------------- set! ................................................................. [ PASS] assert get ........................................................... [ PASS] rm ................................................................... [ PASS] assert get missing ................................................... [ PASS] 4 tests completed in 0.0 seconds. 4 out of 4 (100%) tests passed. -- done testing rm ----------------------------------------------------------- -- testing load -------------------------------------------------------------- verify initial state ................................................. [ PASS] update ip addresses .................................................. [ PASS] verify updated state ................................................. [ PASS] load ................................................................. [ PASS] verify reverted state ................................................ [ PASS] 5 tests completed in 0.005 seconds. 5 out of 5 (100%) tests passed. -- done testing load --------------------------------------------------------- -- testing set multiple, rm multiple ----------------------------------------- set multiple ......................................................... [ PASS] verify existence ..................................................... [ PASS] rm multiple .......................................................... [ PASS] verify non-existence ................................................. [ PASS] 4 tests completed in 0.001 seconds. 4 out of 4 (100%) tests passed. -- done testing set multiple, rm multiple ------------------------------------ -- testing insert ------------------------------------------------------------ verify initial state ................................................. [ PASS] insert before ........................................................ [ PASS] insert after ......................................................... [ PASS] verify inserted state ................................................ [ PASS] verify state after removal ........................................... [ PASS] 5 tests completed in 0.0 seconds. 5 out of 5 (100%) tests passed. -- done testing insert ------------------------------------------------------- -- testing move -------------------------------------------------------------- set /a/b ............................................................. [ PASS] move /a/b /x/y ....................................................... [ PASS] verify dest exists ................................................... [ PASS] verify src does not exist ............................................ [ PASS] delete dest .......................................................... [ PASS] 5 tests completed in 0.0 seconds. 5 out of 5 (100%) tests passed. -- done testing move --------------------------------------------------------- -- testing defvar ------------------------------------------------------------ $hosts is undefined .................................................. [ PASS] defvar $hosts ........................................................ [ PASS] get $hosts/1/ipaddr .................................................. [ PASS] un-defvar $hosts ..................................................... [ PASS] $hosts is undefined again ............................................ [ PASS] defvar $ipaddrs ...................................................... [ PASS] undefvar $ipaddrs .................................................... [ PASS] 7 tests completed in 0.001 seconds. 7 out of 7 (100%) tests passed. -- done testing defvar ------------------------------------------------------- -- testing defnode ----------------------------------------------------------- defnode $myalias, appending new node with last()+1 ................... [ PASS] defnode $myalias1 as same node as $myalias, using last() ............. [ PASS] get $myalias (original value, defnode does not modify existing nodes) [ PASS] get $myalias1 (same as $myalias) ..................................... [ PASS] remove $myalias ...................................................... [ PASS] verify $myalias removed .............................................. [ PASS] verify $myalias1 removed ............................................. [ PASS] undefine node vars ................................................... [ PASS] 8 tests completed in 0.001 seconds. 8 out of 8 (100%) tests passed. -- done testing defnode ------------------------------------------------------ -- testing print ------------------------------------------------------------- print host node to a file and verify output .......................... [ PASS] 1 test completed in 0.0 seconds. 1 out of 1 (100%) test passed. -- done testing print -------------------------------------------------------- -- testing save -------------------------------------------------------------- baseline: verify pristine and sullied files differ ................... [ PASS] -- testing overwrite ----------------------------------------------------- baseline: verify current and sullied files differ ................ [ PASS] baseline: verify current and pristine files identical ............ [ PASS] load ............................................................. [ PASS] verify original file ipaddr ...................................... [ PASS] set new ipaddr ................................................... [ PASS] update file ...................................................... [ PASS] verify current and sullied files now identical ................... [ PASS] 7 tests completed in 0.122 seconds. 7 out of 7 (100%) tests passed. -- done testing overwrite ------------------------------------------------ -- testing backup -------------------------------------------------------- baseline: verify current and sullied files differ ................ [ PASS] baseline: verify current and pristine files identical ............ [ PASS] load ............................................................. [ PASS] verify original file ipaddr ...................................... [ PASS] set new ipaddr ................................................... [ PASS] update file ...................................................... [ PASS] verify current and sullied files now identical ................... [ PASS] verify backup and pristine files still identical ................. [ PASS] 8 tests completed in 0.04 seconds. 8 out of 8 (100%) tests passed. -- done testing backup --------------------------------------------------- -- testing newfile ------------------------------------------------------- baseline: verify current and sullied files differ ................ [ PASS] baseline: verify current and pristine files identical ............ [ PASS] load ............................................................. [ PASS] verify original file ipaddr ...................................... [ PASS] set new ipaddr ................................................... [ PASS] update file ...................................................... [ PASS] verify current and sullied files now identical ................... [ PASS] verify backup and pristine files still identical ................. [ PASS] 8 tests completed in 0.04 seconds. 8 out of 8 (100%) tests passed. -- done testing newfile -------------------------------------------------- -- testing default ------------------------------------------------------- baseline: verify current and sullied files differ ................ [ PASS] baseline: verify current and pristine files identical ............ [ PASS] load ............................................................. [ PASS] verify original file ipaddr ...................................... [ PASS] set new ipaddr ................................................... [ PASS] update file ...................................................... [ PASS] verify current and sullied files now identical ................... [ PASS] 7 tests completed in 0.034 seconds. 7 out of 7 (100%) tests passed. -- done testing default -------------------------------------------------- 1 test and 4 subgroups completed in 0.239 seconds. 1 out of 1 (100%) test passed. 4 out of 4 (100%) subgroups passed. -- done testing save --------------------------------------------------------- -- testing close ------------------------------------------------------------- verify handle is open ................................................ [ PASS] close handle ......................................................... [ PASS] duplicate close ignored .............................................. [ PASS] error: operation on closed handle .................................... [ PASS] 4 tests completed in 0.018 seconds. 4 out of 4 (100%) tests passed. -- done testing close --------------------------------------------------------