Skip to content

使用junit测试时存在的一些问题 #11

Description

@tao-sun2
  • 可以通过 Runtime.getRuntime().exec("")执行shell命令
  • 没有限制文件的访问权限,可以直接读到/tmp/ 下的test文件

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions