You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Intuitively, I wanted to check if cukinia supports piped commands.
This sequence
as grep cukinia_cmd echo toto | grep toto
as cat cukinia_cmd echo toto | cat
as awk cukinia_cmd echo toto | awk '/toto/'
as wc cukinia_cmd echo toto | wc
as sed cukinia_cmd echo toto | sed 's/o/i/g'
cukinia_log "$cukinia_tests"
gives:
[PASS] cat
1 2 21
[PASS] sed
0
It looks like something, probablyecho toto, is executed because of PASS but the result is ignored (cukinia_test==0). So, the output is confusing because cat and sed look fine. And it's not clear why some commands ouput something while other don't.
Quoting the expression ("cmd1|cmd2") helps cukinia_test incrementing but always returns FAIL regardless of cmd1 and cmd2.
The use of "|" in the syntax should be either forbidden by documentation either fixed somehow.
The text was updated successfully, but these errors were encountered:
Intuitively, I wanted to check if cukinia supports piped commands.
This sequence
gives:
It looks like something, probably
echo toto
, is executed because ofPASS
but the result is ignored (cukinia_test==0). So, the output is confusing becausecat
andsed
look fine. And it's not clear why some commands ouput something while other don't.Quoting the expression ("cmd1|cmd2") helps cukinia_test incrementing but always returns FAIL regardless of cmd1 and cmd2.
The use of "|" in the syntax should be either forbidden by documentation either fixed somehow.
The text was updated successfully, but these errors were encountered: