Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-772

tomcat-vault exists normally if you pick an invalid option in an interactive session

XMLWordPrintable

    • Hide

      1) Install tomcat-vault
      2) Start vault and enter an invalid selection in the interactive session:

      $ bin/vault.sh 
      =========================================================================
      
        Tomcat Vault
      
        VAULT_HOME: /tomcat-vault
      
        JAVA: java
      
      =========================================================================
      
      **********************************
      ****  Tomcat Vault  **************
      **********************************
      Please enter a Digit::   0: Start Interactive Session  1: Remove Interactive Session  2: Exit
      3
      

      3) Check the exit code after it exits to see that it's normal

      $ echo $?
      0
      
      Show
      1) Install tomcat-vault 2) Start vault and enter an invalid selection in the interactive session: $ bin/vault.sh ========================================================================= Tomcat Vault VAULT_HOME: /tomcat-vault JAVA: java ========================================================================= ********************************** **** Tomcat Vault ************** ********************************** Please enter a Digit:: 0: Start Interactive Session 1: Remove Interactive Session 2: Exit 3 3) Check the exit code after it exits to see that it's normal $ echo $? 0

      If you enter a digit that's greater than 2 in an interactive session vault returns normally. It should continue the loop and tell the user to enter a valid choice instead of exiting normally like the session succeeded.

            rhn-support-csutherl Coty Sutherland
            rhn-support-csutherl Coty Sutherland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: