~/oil/_clone/ble.sh ~/oil ble.sh: insane environment: $USER is empty. ble.sh: modified USER=uke ble.sh: suspicious environment: $LANG is empty. shopt -s checkwinsize ^~~~~ out/ble.osh:2815: 'shopt' got invalid option 'checkwinsize' ble/term.sh: updating tput cache for TERM=xterm... ble/term.sh: updating tput cache for TERM=xterm... done osh warning: The 'RETURN' hook isn't implemented real 8.434 user 8.110 sys 0.188 real 1.014 user 0.219 sys 0.018 declare -i i=1 ^~~~~~~ lib/test-util.sh:175: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) declare -u u=a ^~~~~~~ lib/test-util.sh:181: Warning: OSH doesn't implement flags -l or -u (shopt --set ignore_flags_not_impl) declare -l l=B ^~~~~~~ lib/test-util.sh:182: Warning: OSH doesn't implement flags -l or -u (shopt --set ignore_flags_not_impl) declare -c c=c ^~ lib/test-util.sh:183: 'declare' doesn't accept flag -c Running out/ble.osh --lib DONE Running out/ble.osh --lib Running lib/test-main.sh lib/test-main.sh:25: set -o posix; f2; ret=$?; set +o posix --- 1085.ret.expect 2025-03-02 07:08:25.256103404 +0000 +++ 1085.ret.result 2025-03-02 07:08:25.256103404 +0000 @@ -1 +1 @@ -0 +1 lib/test-main.sh:57: ! ble/bin#has ble_test_dummy_4 --- 1089.exit.expect 2025-03-02 07:08:25.479106902 +0000 +++ 1089.exit.result 2025-03-02 07:08:25.479106902 +0000 @@ -1 +1 @@ -0 +1 lib/test-main.sh:88: ble/util/readlink f.txt [[ $ret != /* ]] && ret=${PWD%/}/$ret --- 1092.ret.expect 2025-03-02 07:08:25.613109004 +0000 +++ 1092.ret.result 2025-03-02 07:08:25.614109020 +0000 @@ -1 +1 @@ -/tmp/blesh/1000/998.test/1092.d/ab/cd/ef/file.txt +/tmp/blesh/1000/998.test/1092.d/ef/file.txt lib/test-main.sh:110: path=phys.link/1.txt ble/util/readlink/.resolve-physical-directory declare -p path PWD >&2 [[ $path == */phys.dir/1.txt && $PWD == "$pwd" ]] --- 1092.exit.expect 2025-03-02 07:08:25.834112472 +0000 +++ 1092.exit.result 2025-03-02 07:08:25.834112472 +0000 @@ -1 +1 @@ -0 +1 <STDERR> declare -- path=/tmp/blesh/1000/998.test/1092.d/1.txt declare -x PWD=/tmp/blesh/1000/998.test/1092.d </STDERR> lib/test-main.sh:131: [[ ${value//$pattern/$'\n'} == $'\n'hello$'\n' ]] --- 1125.exit.expect 2025-03-02 07:08:25.925113899 +0000 +++ 1125.exit.result 2025-03-02 07:08:25.925113899 +0000 @@ -1 +1 @@ -0 +1 82.7% [section] ble/main: 24/29 (5 fail, 0 crash, 0 skip) DONE Running lib/test-main.sh Running lib/test-util.sh lib/test-util.sh:190: ble/variable#get-attr i; ret=$attr --- 1136.ret.expect 2025-03-02 07:08:27.395136961 +0000 +++ 1136.ret.result 2025-03-02 07:08:27.395136961 +0000 @@ -1 +1 @@ -i + lib/test-util.sh:191: ble/variable#get-attr x; ret=$attr --- 1136.ret.expect 2025-03-02 07:08:27.431137525 +0000 +++ 1136.ret.result 2025-03-02 07:08:27.431137525 +0000 @@ -1 +1 @@ -x + lib/test-util.sh:192: ble/variable#get-attr r; ret=$attr --- 1136.ret.expect 2025-03-02 07:08:27.467138090 +0000 +++ 1136.ret.result 2025-03-02 07:08:27.467138090 +0000 @@ -1 +1 @@ -r + lib/test-util.sh:195: ble/variable#get-attr u; ret=$attr --- 1136.ret.expect 2025-03-02 07:08:27.513138812 +0000 +++ 1136.ret.result 2025-03-02 07:08:27.513138812 +0000 @@ -1 +1 @@ -u + lib/test-util.sh:196: ble/variable#get-attr l; ret=$attr --- 1136.ret.expect 2025-03-02 07:08:27.549139376 +0000 +++ 1136.ret.result 2025-03-02 07:08:27.549139376 +0000 @@ -1 +1 @@ -l + lib/test-util.sh:197: ble/variable#get-attr c; ret=$attr --- 1136.ret.expect 2025-03-02 07:08:27.585139941 +0000 +++ 1136.ret.result 2025-03-02 07:08:27.585139941 +0000 @@ -1 +1 @@ -c + lib/test-util.sh:203: ble/variable#has-attr i i --- 1136.exit.expect 2025-03-02 07:08:27.630140647 +0000 +++ 1136.exit.result 2025-03-02 07:08:27.631140663 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:204: ble/variable#has-attr x x --- 1136.exit.expect 2025-03-02 07:08:27.664141181 +0000 +++ 1136.exit.result 2025-03-02 07:08:27.665141196 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:205: ble/variable#has-attr r r --- 1136.exit.expect 2025-03-02 07:08:27.699141730 +0000 +++ 1136.exit.result 2025-03-02 07:08:27.700141745 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:212: ble/variable#has-attr u u --- 1136.exit.expect 2025-03-02 07:08:27.792142739 +0000 +++ 1136.exit.result 2025-03-02 07:08:27.792142739 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:213: ble/variable#has-attr l l --- 1136.exit.expect 2025-03-02 07:08:27.828142962 +0000 +++ 1136.exit.result 2025-03-02 07:08:27.828142962 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:214: ble/variable#has-attr c c --- 1136.exit.expect 2025-03-02 07:08:27.862143172 +0000 +++ 1136.exit.result 2025-03-02 07:08:27.863143178 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:226: ble/is-inttype i --- 1136.exit.expect 2025-03-02 07:08:27.955143748 +0000 +++ 1136.exit.result 2025-03-02 07:08:27.955143748 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:228: ble/is-readonly r --- 1136.exit.expect 2025-03-02 07:08:28.001144032 +0000 +++ 1136.exit.result 2025-03-02 07:08:28.001144032 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:231: ble/is-transformed u --- 1136.exit.expect 2025-03-02 07:08:28.048144323 +0000 +++ 1136.exit.result 2025-03-02 07:08:28.048144323 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:232: ble/is-transformed l --- 1136.exit.expect 2025-03-02 07:08:28.083144540 +0000 +++ 1136.exit.result 2025-03-02 07:08:28.083144540 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:233: ble/is-transformed c --- 1136.exit.expect 2025-03-02 07:08:28.118144756 +0000 +++ 1136.exit.result 2025-03-02 07:08:28.118144756 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:251: is-global v0 --- 1171.exit.expect 2025-03-02 07:08:28.184145165 +0000 +++ 1171.exit.result 2025-03-02 07:08:28.185145171 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:252: is-global v1 --- 1171.exit.expect 2025-03-02 07:08:28.227145431 +0000 +++ 1171.exit.result 2025-03-02 07:08:28.227145431 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:257: ble/variable#is-global v0 --- 1171.exit.expect 2025-03-02 07:08:28.323146025 +0000 +++ 1171.exit.result 2025-03-02 07:08:28.324146031 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:258: ble/variable#is-global v1 --- 1171.exit.expect 2025-03-02 07:08:28.365146285 +0000 +++ 1171.exit.result 2025-03-02 07:08:28.366146291 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:263: ble/variable#is-global v0u --- 1171.exit.expect 2025-03-02 07:08:28.463146892 +0000 +++ 1171.exit.result 2025-03-02 07:08:28.463146892 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:265: ble/variable#is-global v1u --- 1171.exit.expect 2025-03-02 07:08:28.506147158 +0000 +++ 1171.exit.result 2025-03-02 07:08:28.506147158 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:597: ble/string#split-lines a "" ; status --- 1219.stdout.expect 2025-03-02 07:08:30.678161925 +0000 +++ 1219.stdout.result 2025-03-02 07:08:30.679161939 +0000 @@ -1 +1 @@ -1:() +0:() lib/test-util.sh:599: ble/string#split-lines a " " ; status --- 1219.stdout.expect 2025-03-02 07:08:30.732162713 +0000 +++ 1219.stdout.result 2025-03-02 07:08:30.733162727 +0000 @@ -1 +1 @@ -2:( ) +0:() lib/test-util.sh:600: ble/string#split-lines a "1 " ; status --- 1219.stdout.expect 2025-03-02 07:08:30.770163267 +0000 +++ 1219.stdout.result 2025-03-02 07:08:30.770163267 +0000 @@ -1 +1 @@ -2:(1 ) +1:(1) lib/test-util.sh:601: ble/string#split-lines a " 2" ; status --- 1219.stdout.expect 2025-03-02 07:08:30.807163807 +0000 +++ 1219.stdout.result 2025-03-02 07:08:30.807163807 +0000 @@ -1 +1 @@ -2:( 2) +0:() lib/test-util.sh:602: ble/string#split-lines a "1 3" ; status --- 1219.stdout.expect 2025-03-02 07:08:30.843164333 +0000 +++ 1219.stdout.result 2025-03-02 07:08:30.843164333 +0000 @@ -1 +1 @@ -3:(1 3) +1:(1) lib/test-util.sh:782: ble/string#quote-command echo hello world --- 1237.ret.expect 2025-03-02 07:08:32.662190875 +0000 +++ 1237.ret.result 2025-03-02 07:08:32.662190875 +0000 @@ -1 +1 @@ -echo 'hello' 'world' +echo hello world lib/test-util.sh:784: ble/string#quote-command echo "'test'" --- 1237.ret.expect 2025-03-02 07:08:32.711191590 +0000 +++ 1237.ret.result 2025-03-02 07:08:32.711191590 +0000 @@ -1 +1 @@ -echo ''\''test'\''' +echo $'\'test\'' lib/test-util.sh:786: ble/string#quote-command echo a{1..4} --- 1237.ret.expect 2025-03-02 07:08:32.759192291 +0000 +++ 1237.ret.result 2025-03-02 07:08:32.759192291 +0000 @@ -1 +1 @@ -echo 'a1' 'a2' 'a3' 'a4' +echo a1 a2 a3 a4 lib/test-util.sh:790: ble/util/print-quoted-command echo hello world --- 1237.stdout.expect 2025-03-02 07:08:32.822193210 +0000 +++ 1237.stdout.result 2025-03-02 07:08:32.823193224 +0000 @@ -1 +1 @@ -echo 'hello' 'world' +echo hello world lib/test-util.sh:792: ble/util/print-quoted-command echo "'test'" --- 1237.stdout.expect 2025-03-02 07:08:32.872193939 +0000 +++ 1237.stdout.result 2025-03-02 07:08:32.872193939 +0000 @@ -1 +1 @@ -echo ''\''test'\''' +echo $'\'test\'' lib/test-util.sh:794: ble/util/print-quoted-command echo a{1..4} --- 1237.stdout.expect 2025-03-02 07:08:32.922194669 +0000 +++ 1237.stdout.result 2025-03-02 07:08:32.923194684 +0000 @@ -1 +1 @@ -echo 'a1' 'a2' 'a3' 'a4' +echo a1 a2 a3 a4 lib/test-util.sh:843: ble/util/strlen α --- 1252.ret.expect 2025- ble/function#advice/original:f1 ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#advice/original:f1' not found (OILS-ERR-100) ble/function#advice/original:f1 ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#advice/original:f1' not found (OILS-ERR-100) ble/function#advice/original:f1 ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#advice/original:f1' not found (OILS-ERR-100) ble/function#advice/original:f1 ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#advice/original:f1' not found (OILS-ERR-100) 03-02 07:08:33.611204723 +0000 +++ 1252.ret.result 2025-03-02 07:08:33.611204723 +0000 @@ -1 +1 @@ -2 +1 lib/test-util.sh:844: ble/util/strlen αβγ --- 1252.ret.expect 2025-03-02 07:08:33.647205248 +0000 +++ 1252.ret.result 2025-03-02 07:08:33.648205263 +0000 @@ -1 +1 @@ -6 +3 lib/test-util.sh:845: ble/util/strlen あ --- 1252.ret.expect 2025-03-02 07:08:33.684205788 +0000 +++ 1252.ret.result 2025-03-02 07:08:33.684205788 +0000 @@ -1 +1 @@ -3 +1 lib/test-util.sh:846: ble/util/strlen あいう --- 1252.ret.expect 2025-03-02 07:08:33.719206299 +0000 +++ 1252.ret.result 2025-03-02 07:08:33.719206299 +0000 @@ -1 +1 @@ -9 +3 lib/test-util.sh:847: ble/util/strlen aα --- 1252.ret.expect 2025-03-02 07:08:33.753206795 +0000 +++ 1252.ret.result 2025-03-02 07:08:33.753206795 +0000 @@ -1 +1 @@ -3 +2 lib/test-util.sh:848: ble/util/strlen aαあ --- 1252.ret.expect 2025-03-02 07:08:33.788207306 +0000 +++ 1252.ret.result 2025-03-02 07:08:33.788207306 +0000 @@ -1 +1 @@ -6 +3 lib/test-util.sh:852: ble/util/strlen α --- 1252.ret.expect 2025-03-02 07:08:33.836208006 +0000 +++ 1252.ret.result 2025-03-02 07:08:33.837208021 +0000 @@ -1 +1 @@ -2 +1 lib/test-util.sh:853: ble/util/strlen あ --- 1252.ret.expect 2025-03-02 07:08:33.871208517 +0000 +++ 1252.ret.result 2025-03-02 07:08:33.871208517 +0000 @@ -1 +1 @@ -3 +1 lib/test-util.sh:885: ble/util/substr あいう 0 3 --- 1269.ret.expect 2025-03-02 07:08:34.242213930 +0000 +++ 1269.ret.result 2025-03-02 07:08:34.243213945 +0000 @@ -1 +1 @@ -あ +あいう lib/test-util.sh:886: ble/util/substr あいう 3 6 --- 1269.ret.expect 2025-03-02 07:08:34.279214470 +0000 +++ 1269.ret.result 2025-03-02 07:08:34.280214485 +0000 @@ -1 +1 @@ -いう + lib/test-util.sh:1243: ble/util/mapfile a < <(echo); status --- 1279.stdout.expect 2025-03-02 07:08:39.051281783 +0000 +++ 1279.stdout.result 2025-03-02 07:08:39.052281797 +0000 @@ -1 +1 @@ -1:() +0:() lib/test-util.sh:1244: ble/util/mapfile a < <(echo;echo); status --- 1279.stdout.expect 2025-03-02 07:08:39.091282339 +0000 +++ 1279.stdout.result 2025-03-02 07:08:39.092282352 +0000 @@ -1 +1 @@ -2:( ) +0:() lib/test-util.sh:1245: ble/util/mapfile a < <(echo a;echo;echo b); status --- 1279.stdout.expect 2025-03-02 07:08:39.131282894 +0000 +++ 1279.stdout.result 2025-03-02 07:08:39.131282894 +0000 @@ -1 +1 @@ -3:(a b) +1:(a) lib/test-util.sh:1263: ble/util/assign-array a echo; status --- 1279.stdout.expect 2025-03-02 07:08:39.281284977 +0000 +++ 1279.stdout.result 2025-03-02 07:08:39.281284977 +0000 @@ -1 +1 @@ -1:() +0:() lib/test-util.sh:1266: ble/util/assign-array a "echo; echo; echo"; status --- 1279.stdout.expect 2025-03-02 07:08:39.354285991 +0000 +++ 1279.stdout.result 2025-03-02 07:08:39.355286005 +0000 @@ -1 +1 @@ -3:( ) +0:() lib/test-util.sh:1267: ble/util/assign-array a "echo 1; echo; echo 2"; status --- 1279.stdout.expect 2025-03-02 07:08:39.394286547 +0000 +++ 1279.stdout.result 2025-03-02 07:08:39.394286547 +0000 @@ -1 +1 @@ -3:(1 2) +1:(1) lib/test-util.sh:1364: f1 --- 1363.stdout.expect 2025-03-02 07:08:40.472301518 +0000 +++ 1363.stdout.result 2025-03-02 07:08:40.473301532 +0000 @@ -1,2 +1 @@ pre -original <STDERR> ble/function#advice/original:"${ADVICE_WORDS[@]}" ^~~ out/ble.osh:5028: 'ble/function#advice/original:f1' not found (OILS-ERR-100) </STDERR> lib/test-util.sh:1366: f1 --- 1363.stdout.expect 2025-03-02 07:08:40.548302574 +0000 +++ 1363.stdout.result 2025-03-02 07:08:40.548302574 +0000 @@ -1,3 +1,2 @@ pre -original post <STDERR> ble/function#advice/original:"${ADVICE_WORDS[@]}" ^~~ out/ble.osh:5028: 'ble/function#advice/original:f1' not found (OILS-ERR-100) </STDERR> lib/test-util.sh:1368: f1 --- 1363.stdout.expect 2025-03-02 07:08:40.624303629 +0000 +++ 1363.stdout.result 2025-03-02 07:08:40.625303643 +0000 @@ -1,3 +1,2 @@ A -original post <STDERR> ble/function#advice/original:"${ADVICE_WORDS[@]}" ^~~ out/ble.osh:5028: 'ble/function#advice/original:f1' not found (OILS-ERR-100) </STDERR> lib/test-util.sh:1370: f1 --- 1363.stdout.expect 2025-03-02 07:08:40.700304685 +0000 +++ 1363.st ble/function#advice/original:f1 ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#advice/original:f1' not found (OILS-ERR-100) ble/function#advice/original:f1 ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#advice/original:f1' not found (OILS-ERR-100) ble/function#push/0:echo ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#push/0:echo' not found (OILS-ERR-100) ble/function#push/0:echo ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#push/0:echo' not found (OILS-ERR-100) ble/function#push/0:echo ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#push/0:echo' not found (OILS-ERR-100) ble/function#pop: echo is not a function. ble/function#pop: echo is not a function. dout.result 2025-03-02 07:08:40.701304699 +0000 @@ -1,3 +1,2 @@ A -original B <STDERR> ble/function#advice/original:"${ADVICE_WORDS[@]}" ^~~ out/ble.osh:5028: 'ble/function#advice/original:f1' not found (OILS-ERR-100) </STDERR> lib/test-util.sh:1372: f1 --- 1363.stdout.expect 2025-03-02 07:08:40.778305768 +0000 +++ 1363.stdout.result 2025-03-02 07:08:40.779305782 +0000 @@ -1,5 +1,4 @@ A [ -original ] B <STDERR> ble/function#advice/original:"${ADVICE_WORDS[@]}" ^~~ out/ble.osh:5028: 'ble/function#advice/original:f1' not found (OILS-ERR-100) </STDERR> lib/test-util.sh:1378: f1 --- 1363.stdout.expect 2025-03-02 07:08:40.856306851 +0000 +++ 1363.stdout.result 2025-03-02 07:08:40.857306865 +0000 @@ -1,5 +1,4 @@ A [ -original quick ] B <STDERR> ble/function#advice/original:"${ADVICE_WORDS[@]}" ^~~ out/ble.osh:5028: 'ble/function#advice/original:f1' not found (OILS-ERR-100) </STDERR> lib/test-util.sh:1381: f1 --- 1363.stdout.expect 2025-03-02 07:08:40.911307615 +0000 +++ 1363.stdout.result 2025-03-02 07:08:40.912307629 +0000 @@ -1 +1 @@ -original + --- 1363.exit.expect 2025-03-02 07:08:40.931307893 +0000 +++ 1363.exit.result 2025-03-02 07:08:40.932307907 +0000 @@ -1 +1 @@ -0 +127 <STDERR> ble/function#advice/original:"${ADVICE_WORDS[@]}" ^~~ out/ble.osh:5028: 'ble/function#advice/original:f1' not found (OILS-ERR-100) </STDERR> lib/test-util.sh:1382: f1 1 --- 1363.stdout.expect 2025-03-02 07:08:40.980308573 +0000 +++ 1363.stdout.result 2025-03-02 07:08:40.981308587 +0000 @@ -1 +1 @@ -original 1 + --- 1363.exit.expect 2025-03-02 07:08:41.001308865 +0000 +++ 1363.exit.result 2025-03-02 07:08:41.002308879 +0000 @@ -1 +1 @@ -0 +127 <STDERR> ble/function#advice/original:"${ADVICE_WORDS[@]}" ^~~ out/ble.osh:5028: 'ble/function#advice/original:f1' not found (OILS-ERR-100) </STDERR> lib/test-util.sh:1395: echo 1 2 3 --- 1384.stdout.expect 2025-03-02 07:08:41.133310698 +0000 +++ 1384.stdout.result 2025-03-02 07:08:41.134310712 +0000 @@ -1,3 +1,3 @@ A -(1 2 3) +1 2 3 Z lib/test-util.sh:1397: echo 1 2 3 --- 1384.stdout.expect 2025-03-02 07:08:41.184311407 +0000 +++ 1384.stdout.result 2025-03-02 07:08:41.185311420 +0000 @@ -1,5 +1,3 @@ [ -A -(1 2 3) -Z +1 2 3 ] lib/test-util.sh:1400: echo 1 2 3 --- 1384.stdout.expect 2025-03-02 07:08:41.234312101 +0000 +++ 1384.stdout.result 2025-03-02 07:08:41.235312115 +0000 @@ -1,3 +1 @@ -A -(1 2 3) -Z +1 2 3 lib/test-util.sh:1402: echo 1 2 3 --- 1384.stdout.expect 2025-03-02 07:08:41.274312657 +0000 +++ 1384.stdout.result 2025-03-02 07:08:41.274312657 +0000 @@ -1 +1 @@ -(1 2 3) +1 2 3 lib/test-util.sh:1404: echo 1 2 3 --- 1384.stdout.expect 2025-03-02 07:08:41.312313184 +0000 +++ 1384.stdout.result 2025-03-02 07:08:41.312313184 +0000 @@ -1 +1 @@ -[1 2 3] +1 2 3 lib/test-util.sh:1405: ble/is-function echo --- 1384.exit.expect 2025-03-02 07:08:41.347313670 +0000 +++ 1384.exit.result 2025-03-02 07:08:41.348313684 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:1406: ble/function#pop echo --- 1384.exit.expect 2025-03-02 07:08:41.387314226 +0000 +++ 1384.exit.result 2025-03-02 07:08:41.387314226 +0000 @@ -1 +1 @@ -0 +1 <STDERR> ble/function#pop: echo is not a function. </STDERR> lib/test-util.sh:1443: ble/util/sprintf ret "[%#.2g]" 27 --- 1400.ret.expect 2025-03-02 07:08:41.662318045 +0000 +++ 1400.ret.result 2025-03-02 07:08:41.663318059 +0000 @@ -1 +1 @@ -[27.] +[1b] <STDERR> [%#.2g] ^ [ printf arg at line 5263 of out/ble.osh ]:1 </STDERR> lib/test-util.sh:1444: ble/util/sprintf ret "[%#.2f]" 27 --- 1400.ret.expect 2025-03-02 07:08:41.701318587 +0000 +++ 1400.ret.result 2025-03-02 07:08:41.701318587 +0000 @@ -1 +1 @@ -[27.00] +[1b] <STDERR> [%#.2f] ^ [ printf arg at line 5263 of out/ble.osh ]:1 </STDERR> lib/test-util.sh:1482: ble/alias#expand aaa1 --- 1406.ret.expect 2025-03-02 07:08:41.943321948 +0000 +++ 1406.ret.result 2025-03-02 07:08:41.944321962 +0000 @@ -1 +1 @@ -aaa2 world +aaa1 lib/test-util.sh:1484: ble/alias#expand aaa2 --- 1406.ret.expect 2025-03-02 07:08:41.980322461 +0000 +++ 1406.ret.result 2025-03-02 07:08:41.9813224 elif [[ -t ${!1} ]]; then ^~ out/ble.osh:5825: fatal: Invalid file descriptor '' ble/function#push/0:ble/util/msleep ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#push/0:ble/util/msleep' not found (OILS-ERR-100) 75 +0000 @@ -1 +1 @@ -aaa3 hello +aaa2 lib/test-util.sh:1485: ble/alias#expand aaa1 --- 1406.ret.expect 2025-03-02 07:08:42.022323045 +0000 +++ 1406.ret.result 2025-03-02 07:08:42.023323059 +0000 @@ -1 +1 @@ -aaa2 world +aaa1 lib/test-util.sh:1487: ble/alias#expand aaa3 --- 1406.ret.expect 2025-03-02 07:08:42.058323545 +0000 +++ 1406.ret.result 2025-03-02 07:08:42.059323559 +0000 @@ -1 +1 @@ -aaa4 +aaa3 lib/test-util.sh:1488: ble/alias#expand aaa2 --- 1406.ret.expect 2025-03-02 07:08:42.100324128 +0000 +++ 1406.ret.result 2025-03-02 07:08:42.100324128 +0000 @@ -1 +1 @@ -aaa3 hello +aaa2 lib/test-util.sh:1489: ble/alias#expand aaa1 --- 1406.ret.expect 2025-03-02 07:08:42.134324600 +0000 +++ 1406.ret.result 2025-03-02 07:08:42.135324614 +0000 @@ -1 +1 @@ -aaa2 world +aaa1 lib/test-util.sh:1491: ble/alias#expand aaa4 --- 1406.ret.expect 2025-03-02 07:08:42.169325086 +0000 +++ 1406.ret.result 2025-03-02 07:08:42.170325100 +0000 @@ -1 +1 @@ -echo +aaa4 lib/test-util.sh:1492: ble/alias#expand aaa3 --- 1406.ret.expect 2025-03-02 07:08:42.206325600 +0000 +++ 1406.ret.result 2025-03-02 07:08:42.207325614 +0000 @@ -1 +1 @@ -aaa4 +aaa3 lib/test-util.sh:1493: ble/alias#expand aaa2 --- 1406.ret.expect 2025-03-02 07:08:42.241326086 +0000 +++ 1406.ret.result 2025-03-02 07:08:42.241326086 +0000 @@ -1 +1 @@ -aaa3 hello +aaa2 lib/test-util.sh:1494: ble/alias#expand aaa1 --- 1406.ret.expect 2025-03-02 07:08:42.274326545 +0000 +++ 1406.ret.result 2025-03-02 07:08:42.275326559 +0000 @@ -1 +1 @@ -aaa2 world +aaa1 lib/test-util.sh:1619: [[ ! ${v0+set} ]] --- 1480.exit.expect 2025-03-02 07:08:43.283340558 +0000 +++ 1480.exit.result 2025-03-02 07:08:43.283340558 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:1620: status v1 --- 1480.stdout.expect 2025-03-02 07:08:43.318341044 +0000 +++ 1480.stdout.result 2025-03-02 07:08:43.319341058 +0000 @@ -1 +1 @@ -1:(123) +1:(2) lib/test-util.sh:1621: status v2 --- 1480.stdout.expect 2025-03-02 07:08:43.355341558 +0000 +++ 1480.stdout.result 2025-03-02 07:08:43.355341558 +0000 @@ -1 +1 @@ -3:(1 2 3) +1:(3) lib/test-util.sh:1622: status v3 --- 1480.stdout.expect 2025-03-02 07:08:43.392342072 +0000 +++ 1480.stdout.result 2025-03-02 07:08:43.393342086 +0000 @@ -1 +1 @@ -1:(bbb) +3:(bbb) lib/test-util.sh:1623: status v4 --- 1480.stdout.expect 2025-03-02 07:08:43.429342586 +0000 +++ 1480.stdout.result 2025-03-02 07:08:43.430342599 +0000 @@ -1 +1 @@ -1:(ccc) +1:(5) lib/test-util.sh:1635: ble/util/print-global-definitions value --- 1480.stdout.expect 2025-03-02 07:08:43.504343627 +0000 +++ 1480.stdout.result 2025-03-02 07:08:43.504343627 +0000 @@ -1 +1 @@ -declare value='hello '\''world'\''' +declare value; builtin unset -v value lib/test-util.sh:1672: shopt -q failglob --- 1497.exit.expect 2025-03-02 07:08:43.807347823 +0000 +++ 1497.exit.result 2025-03-02 07:08:43.807347823 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:1673: shopt -q nullglob --- 1497.exit.expect 2025-03-02 07:08:43.841348286 +0000 +++ 1497.exit.result 2025-03-02 07:08:43.841348286 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:1674: shopt -q extglob --- 1497.exit.expect 2025-03-02 07:08:43.876348762 +0000 +++ 1497.exit.result 2025-03-02 07:08:43.876348762 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:1685: ble-measure -q "ble/util/msleep 100"; echo "$ret usec" >&2; ((msec=ret/1000,90<=msec&&msec<=120)) --- 1507.exit.expect 2025-03-02 07:08:44.145352421 +0000 +++ 1507.exit.result 2025-03-02 07:08:44.145352421 +0000 @@ -1 +1 @@ -0 +1 <STDERR> 0 usec </STDERR> lib/test-util.sh:1686: ble-measure -q "ble/util/sleep 0.1"; echo "$ret usec" >&2; ((msec=ret/1000,90<=msec&&msec<=120)) --- 1507.exit.expect 2025-03-02 07:08:44.306354612 +0000 +++ 1507.exit.result 2025-03-02 07:08:44.306354612 +0000 @@ -1 +1 @@ -0 +1 <STDERR> 0 usec </STDERR> lib/test-util.sh:1694: ble/util/conditional-sync 'ble/bin/sleep 10' '((time<1000))' 100 --- 1514.stdout.expect 2025-03-02 07:08:54.389481495 +0000 +++ 1514.stdout.result 2025-03-02 07:08:54.389481495 +0000 @@ -1,10 +1 @@ 100 -200 -300 -400 -500 -600 -700 -800 -900 -1000 <STDERR> [%1] PID 1516 Started [%1] PID 1516 Done [%1] PID 1530 Started [%2] PID 1532 Started set -m; ble/bin/sleep 10 & pid3=$!; set +m ^~ lib/test-util.sh:1704: 'set' got invalid flag '-m' [%3] PID 1534 Started set -m; ble/bin/sleep 10 & pid3=$!; set +m ^ lib/test-util.sh:1704: 'set' got invalid flag '-m' ble/function#push/0:ble/util/idle/IS_IDLE ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#push/0:ble/util/idle/IS_IDLE' not found (OILS-ERR-100) ble/function#push/0:ble/util/.test-utf8-locale ^~~ [ eval arg at line 334 of out/ble.osh ]:1 builtin eval -- "$1"; local ext=$? ^~~~ out/ble.osh:334: 'ble/function#push/0:ble/util/.test-utf8-locale' not found (OILS-ERR-100) real 54.399 user 0.613 sys 0.154 real 0.626 user 0.095 sys 0.010 </STDERR> lib/test-util.sh:1696: ble/util/conditional-sync 'ble/bin/sleep 10' '((time<1000))' 100 progressive-weight --- 1514.stdout.expect 2025-03-02 07:09:04.458612973 +0000 +++ 1514.stdout.result 2025-03-02 07:09:04.458612973 +0000 @@ -1,16 +1 @@ 1 -3 -7 -15 -31 -63 -127 -227 -327 -427 -527 -627 -727 -827 -927 -1027 <STDERR> [%1] PID 1521 Started [%1] PID 1521 Done </STDERR> lib/test-util.sh:1698: ble/util/conditional-sync 'ble/bin/sleep 10' 'true' 100 timeout=10 --- 1514.exit.expect 2025-03-02 07:09:14.517745706 +0000 +++ 1514.exit.result 2025-03-02 07:09:14.518745719 +0000 @@ -1 +1 @@ -142 +0 <STDERR> [%1] PID 1526 Started [%1] PID 1526 Done </STDERR> lib/test-util.sh:1713: kill -0 "$pid1" --- 1514.exit.expect 2025-03-02 07:09:14.670747737 +0000 +++ 1514.exit.result 2025-03-02 07:09:14.671747750 +0000 @@ -1 +1 @@ -1 +0 lib/test-util.sh:1714: kill -0 "$pid2" --- 1514.exit.expect 2025-03-02 07:09:14.712748295 +0000 +++ 1514.exit.result 2025-03-02 07:09:14.713748308 +0000 @@ -1 +1 @@ -1 +0 lib/test-util.sh:1715: kill -0 "$pid3" --- 1514.exit.expect 2025-03-02 07:09:14.753748839 +0000 +++ 1514.exit.result 2025-03-02 07:09:14.754748852 +0000 @@ -1 +1 @@ -1 +0 lib/test-util.sh:1740: ble/util/get-pager ret --- 1568.ret.expect 2025-03-02 07:09:15.026752462 +0000 +++ 1568.ret.result 2025-03-02 07:09:15.026752462 +0000 @@ -1 +1 @@ -less +pager lib/test-util.sh:1763: ble/util/buffer.flush --- 1573.stdout.expect 2025-03-02 07:09:15.113753617 +0000 +++ 1573.stdout.result 2025-03-02 07:09:15.114753630 +0000 @@ -1 +1 @@ -helloworld + lib/test-util.sh:1767: ble/util/buffer.flush --- 1573.stdout.expect 2025-03-02 07:09:15.161754254 +0000 +++ 1573.stdout.result 2025-03-02 07:09:15.162754268 +0000 @@ -1,2 +1 @@ -hello -world + lib/test-util.sh:2016: ble/util/c2s 956; [[ $ret != μ ]] --- 1586.exit.expect 2025-03-02 07:09:16.723764387 +0000 +++ 1586.exit.result 2025-03-02 07:09:16.723764387 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:2017: ble/util/c2s 12354; [[ $ret != あ ]] --- 1586.exit.expect 2025-03-02 07:09:16.759764448 +0000 +++ 1586.exit.result 2025-03-02 07:09:16.759764448 +0000 @@ -1 +1 @@ -0 +1 lib/test-util.sh:2047: ble/util/chars2s --- 1592.ret.expect 2025-03-02 07:09:17.066764971 +0000 +++ 1592.ret.result 2025-03-02 07:09:17.067764972 +0000 @@ -1 +1 @@ - +12354 <STDERR> \\U%08x ^ [ printf arg at line 11674 of out/ble.osh ]:1 </STDERR> lib/test-util.sh:2064: ble/util/keyseq2chars 'b\C-@c'; ret="${ret[*]}" --- 1595.ret.expect 2025-03-02 07:09:18.147766811 +0000 +++ 1595.ret.result 2025-03-02 07:09:18.148766813 +0000 @@ -1 +1 @@ -98 0 99 +98 0 lib/test-util.sh:2064: ble/util/keyseq2chars 'b\C-ac'; ret="${ret[*]}" --- 1595.ret.expect 2025-03-02 07:09:18.255766994 +0000 +++ 1595.ret.result 2025-03-02 07:09:18.256766996 +0000 @@ -1 +1 @@ -98 1 99 +98 1 lib/test-util.sh:2064: ble/util/keyseq2chars 'b\C-zc'; ret="${ret[*]}" --- 1595.ret.expect 2025-03-02 07:09:18.365768164 +0000 +++ 1595.ret.result 2025-03-02 07:09:18.365768164 +0000 @@ -1 +1 @@ -98 26 99 +98 26 lib/test-util.sh:2064: ble/util/keyseq2chars 'b\C-]c'; ret="${ret[*]}" --- 1595.ret.expect 2025-03-02 07:09:18.472769565 +0000 +++ 1595.ret.result 2025-03-02 07:09:18.473769578 +0000 @@ -1 +1 @@ -98 29 99 +98 29 lib/test-util.sh:2064: ble/util/keyseq2chars 'b\C-^c'; ret="${ret[*]}" --- 1595.ret.expect 2025-03-02 07:09:18.581770992 +0000 +++ 1595.ret.result 2025-03-02 07:09:18.582771005 +0000 @@ -1 +1 @@ -98 30 99 +98 30 lib/test-util.sh:2064: ble/util/keyseq2chars 'b\C-_c'; ret="${ret[*]}" --- 1595.ret.expect 2025-03-02 07:09:18.689772406 +0000 +++ 1595.ret.result 2025-03-02 07:09:18.690772419 +0000 @@ -1 +1 @@ -98 31 99 +98 31 lib/test-util.sh:2064: ble/util/keyseq2chars 'b\M-\C-@c'; ret="${ret[*]}" --- 1595.ret.expect 2025-03-02 07:09:18.800773860 +0000 +++ 1595.ret.result 2025-03-02 07:09:18.800773860 +0000 @@ -1 +1 @@ -98 27 0 99 +98 27 0 91.3% [section] ble/util: 1129/1236 (107 fail, 0 crash, 8 skip) DONE Running lib/test-util.sh Running lib/test-decode.sh 100.0% [section] ble/decode: 33/33 (0 fail, 0 crash, 0 skip) DONE Running lib/test-decode.sh ~/oil DONE