1 package org
.argeo
.slc
.core
.execution
.tasks
;
3 import org
.apache
.commons
.logging
.Log
;
4 import org
.apache
.commons
.logging
.LogFactory
;
5 import org
.argeo
.slc
.core
.execution
.AbstractExecutionFlowTestCase
;
7 public class SystemCallTest
extends AbstractExecutionFlowTestCase
{
8 private final static Log log
= LogFactory
.getLog(SystemCallTest
.class);
10 private final String defFile
= "systemCall.xml";
12 public void testSystemCallSimple() throws Exception
{
14 configureAndExecuteSlcFlow(defFile
, "systemCallSimple");
17 public void testSystemCallList() throws Exception
{
19 configureAndExecuteSlcFlow(defFile
, "systemCallList");
22 public void testSystemCallOsSpecific() throws Exception
{
24 configureAndExecuteSlcFlow(defFile
, "systemCallOsSpecific");
27 public void testSystemCallWithVar() throws Exception
{
29 configureAndExecuteSlcFlow(defFile
, "systemCallWithVar");
32 protected boolean isOsSupported() {
33 String osName
= System
.getProperty("os.name");
35 if (osName
.contains("Windows"))
41 log
.warn("Skip test because OS '" + osName
+ "' is not supported.");