[jboss-jira] [JBoss JIRA] (WFCORE-864) CLI echo command doesn't echo variables any more

Joe Wertz (JIRA) issues at jboss.org
Mon Aug 3 08:14:03 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094990#comment-13094990 ] 

Joe Wertz commented on WFCORE-864:
----------------------------------

Found this one last week while working on the testsuite refactoring.

> CLI echo command doesn't echo variables any more
> ------------------------------------------------
>
>                 Key: WFCORE-864
>                 URL: https://issues.jboss.org/browse/WFCORE-864
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.0.0.Alpha12
>            Reporter: Alexey Loubyansky
>            Assignee: Joe Wertz
>
> This CLI log is produced by wildfly-core-2.0.0.Alpha11
> [olubyans at fedovo bin]$ ./jboss-cli.sh 
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> [disconnected /] echo
> [disconnected /] set a=aa
> [disconnected /] echo $a
> aa
> And this one is the current one (with the new Aesh)
> [disconnected /] set a=aa
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> [disconnected /] echo $a
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> [disconnected /] 
> I've verified that the variables are set with set command. I guess Aesh is handling $xxx itself and just replaces them with nothing, as Aesh is unaware of the CLI variables.
> There is EchoTestCase but, as it's not interactive, Aesh does not get involved there, I guess.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list