Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901508

JTreg with '-noshell' wrongly executes shell tests with an implicit 'run shell' action

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jtreg4.2
    • None
    • tools
    • None
    • b02

      The '-noshell' command line option should instruct JTreg to not execute tests which contain shell actions. Unfortunately this option is broken for shell tests which do not explicitly specify a run action with '@run shell ...'.

      Notice that specifying a run action is not necessary because the default for '.sh' files is '@run shell <filename>' anyway. There exist plenty of shell tests which do not specify the run action explicitly.

            simonis Volker Simonis
            simonis Volker Simonis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: