Failed tests:
Test 14 ($(echo :abc
): FAILED
Test words: <$(echo :abc
>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 15 ($(echo :abc:\ )): FAILED
Test words: <$(echo :abc:\ )>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 16 ($(echo :abc\ )): FAILED
Test words: <$(echo :abc\ )>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 17 ($(echo $var)): FAILED
Test words: <$(echo $var)>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 19 ($(echo :abc
def): FAILED
Test words: <$(echo :abc
def>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 20 ($(echo abc:de)f): FAILED
Test words: <$(echo abc:de)f>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 21 ($(echo abc:de)f:ghi): FAILED
Test words: <$(echo abc:de)f:ghi>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 22 (abc:d$(echo ef:ghi)): FAILED
Test words: <abc:d$(echo ef:ghi)>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 23 ($var$(echo def:ghi)): FAILED
Test words: <$var$(echo def:ghi)>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 24 ($var$(echo ef:ghi)): FAILED
Test words: <$var$(echo ef:ghi)>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 25 ($(echo abc
$var): FAILED
Test words: <$(echo abc
$var>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 26 ($(echo abc:d)$var): FAILED
Test words: <$(echo abc:d)$var>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 39 ($(echo hello)): FAILED
Test words: <$(echo hello)>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 40 ($( (echo hello) )): FAILED
Test words: <$( (echo hello) )>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 41 ($((echo hello);(echo there))): FAILED
Test words: <$((echo hello);(echo there))>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 42 (`echo one two`): FAILED
Test words: <`echo one two`>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 43 ($(echo ')')): FAILED
Test words: <$(echo ')')>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 44 ($(echo hello; echo)): FAILED
Test words: <$(echo hello; echo)>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 45 (a$(echo b)c): FAILED
Test words: <a$(echo b)c>, need retval 0, wordc 1
Got retval 5, wordc 99: Test 76 (${var%$(echo oni)}): FAILED
Test words: <${var%$(echo oni)}>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 95 ("$(echo hello there)"): FAILED
Test words: <"$(echo hello there)">, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 96 ("$(echo "hello there")"): FAILED
Test words: <"$(echo "hello there")">, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 97 (${var=one two} "$var"): OK
Test 98 ($(( $(echo 3)+$var ))): FAILED
Test words: <$(( $(echo 3)+$var ))>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 99 ("$(echo "*")"): FAILED
Test words: <"$(echo "*")">, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 100 ("a
$(echo)b"): FAILED
Test words: <"a
$(echo)b">, need retval 0, wordc 1
Got retval 5, wordc 99:
What was wrong? How correct these mistakes?