Bigtop
  1. Bigtop
  2. BIGTOP-1316

enhance Shell for better checking of return code & output logging

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: tests
    • Labels:
      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

      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

            • Assignee:
              Steve Loughran
              Reporter:
              Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development