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.
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.