def test_system_OS_function(self): exprCode = u""" # (C) முத்தையா அண்ணாமலை 2014 system("ls -lrt") system("cat /etc/passwd") """ #missing end function statement TestEzhilException.create_and_test_spl(exprCode,RuntimeException,"system")
def test_globals_deleted_fcn(self): exprCode = u""" # (C) முத்தையா அண்ணாமலை 2013 globals() #not avaiable in safe mode """ #missing end function statement TestEzhilException.create_and_test_spl(exprCode,RuntimeException,"globals")
def test_getenv_OS_module_fcn(self): exprCode = u""" # (C) முத்தையா அண்ணாமலை 2013 getenv("SHELL") #not avaiable in safe mode """ #missing end function statement TestEzhilException.create_and_test_spl(exprCode,RuntimeException,"getenv")