Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for execStartScript (0.12 sec)

  1. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

            buildFile << """
                task execStartScript(type: Exec) {
                    workingDir 'build/install/sample/bin'
                    commandLine './sample'
                    environment ${envVar}: '`\$(touch "${exploit.absolutePath}")`'
                }
            """
            fails('execStartScript')
    
            then:
            result.assertTaskExecuted(":execStartScript")
            !exploit.exists()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginUnixShellsIntegrationTest.groovy

            buildFile << """
    task execStartScript(type: Exec) {
        workingDir '$startScriptDir.canonicalPath'
        commandLine '${PluginTestPreconditions.locate(shCommand).absolutePath}'
        args "./sample"
    }
    """
            if (args.length > 0) {
                buildFile << """
                    execStartScript.args "${args.join('", "')}"
                """
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top