Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11222

Fix wrong grep escaping on wsprovide and wsconsume scripts

    XMLWordPrintable

Details

    Description

      Wrong grep escaping on wsprovide and wsconsume scripts.

      How to reproduce:
      On solaris11 with latest upgrade of grep:

      [hudson@dev36-03 bin]$ ./wsprovide.sh -h
      grep: illegal option -- e
      grep: illegal option -- m
      grep: illegal option -- g
      grep: illegal option -- r
      Usage: grep [-c|-l|-q] -bhinsvw pattern file . . .
      ... wsprovide help message  ...
      [hudson@dev36-03 bin]$
      

      On RHEL:
      Security manager is activated with any non-related property that contains "cmgr" string, example:

      export JAVA_OPTS="-Daaacmgrbbb=false"
      ./wsconsume.sh https://raw.githubusercontent.com/jbossws/jbossws-cxf/master/modules/testsuite/shared-tests/src/test/resources/jaxws/smoke/tools/wsdl/TestServiceSoap12.wsdl
      

      Attachments

        Issue Links

          Activity

            People

              mkopecky@redhat.com Marek Kopecky
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: