Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1316

enhance Shell for better checking of return code & output logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • tests
    • None

    Description

      for the slider tests, we extended Shell with [SliderShellhttps://svn.apache.org/viewvc/incubator/slider/trunk/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/SliderShell.groovy?view=markup], adding some more features. Some of those are biased towards executing our entry point, but there are some useful core features worth pulling up to the base class

      1. toString() and dump() methods with diagnostics
      2. return code sign correction and assertion checking
      3. construction of bash environment and command lines

      The bash setup could be done with a class Bash extends Shell which is designed purely for bash execution

      Attachments

        1. bigtop-1316-003.patch
          5 kB
          Steve Loughran
        2. BIGTOP-1316-002.patch
          5 kB
          Steve Loughran
        3. BIGTOP-1316-001.patch
          2 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: