Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for symlink2 (0.59 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            then:
            failure.error.contains('ERROR: JAVA_HOME is set to an invalid directory')
        }
    
        @Requires([UnitTestPreconditions.Symlinks, IntegTestPreconditions.NotEmbeddedExecutor])
        def "fails when java home not set and path does not contain java"() {
            when:
            def links = ['basename', 'dirname', 'uname', 'which', 'sed', 'sh', 'bash']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/cmd/go/internal/script/cmds.go

    	if s.msg == "" {
    		return "stop"
    	}
    	return "stop: " + s.msg
    }
    
    // Symlink creates a symbolic link.
    func Symlink() Cmd {
    	return Command(
    		CmdUsage{
    			Summary: "create a symlink",
    			Args:    "path -> target",
    			Detail: []string{
    				"Creates path as a symlink to target.",
    				"The '->' token (like in 'ls -l' output on Unix) is required.",
    			},
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/UnitTestPreconditions.groovy

    @CompileStatic
    class UnitTestPreconditions {
    
        static final class Symlinks implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                return satisfied(MacOs) || satisfied(Linux)
            }
        }
    
        static final class NoSymlinks implements TestPrecondition {
            @Override
            boolean isSatisfied() {
                return notSatisfied(Symlinks)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

            when:
            run "copy"
            then:
            file("build/tmp/testchild").mode == mode
            where:
            mode << [0755, 0776]
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "symlinked file permissions are preserved in copy action"() {
            given:
            def mode = 0746
            def testSourceFile = file(testFileName)
            testSourceFile << "test file content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. pkg/volume/util/atomic_writer_test.go

    			if err != nil && os.IsNotExist(err) {
    				t.Fatalf("%v: visible symlink does not exist: %v", tc.name, visiblePath)
    			} else if err != nil {
    				t.Fatalf("%v: unable to read symlink %v: %v", tc.name, dataDirPath, err)
    			}
    
    			if expectedDest != destination {
    				t.Fatalf("%v: symlink destination %q not same with expected data dir %q", tc.name, destination, expectedDest)
    			}
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/cfg/cfg.go

    			}
    
    			// Depending on what was passed on the command line, it is possible
    			// that os.Executable is a symlink (like /usr/local/bin/go) referring
    			// to a binary installed in a real GOROOT elsewhere
    			// (like /usr/lib/go/bin/go).
    			// Try to find that GOROOT by resolving the symlinks.
    			exe, err = filepath.EvalSymlinks(exe)
    			if err == nil {
    				if dir := filepath.Join(exe, "../.."); isGOROOT(dir) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    //sysnb	Setsid() (pid int, err error)
    //sysnb	Settimeofday(tp *Timeval) (err error)
    //sysnb	Setuid(uid int) (err error)
    //sys	Statfs(path string, stat *Statfs_t) (err error)
    //sys	Symlink(path string, link string) (err error)
    //sys	Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
    //sys	Sync() (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. doc/godebug.md

    set, and reparse points that are not symlinks, Unix sockets, or dedup files now
    always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. As a result of these changes,
    [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates
    mount points, which was a source of many inconsistencies and bugs.
    At previous versions (`winsymlink=0`), mount points are treated as symlinks,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

    #
    ##############################################################################
    
    # Attempt to set APP_HOME
    
    # Resolve links: \$0 may be a link
    app_path=\$0
    
    # Need this for daisy-chained symlinks.
    while
        APP_HOME=\${app_path%"\${app_path##*/}"}  # leaves a trailing /; empty if no leading path
        [ -h "\$app_path" ]
    do
        ls=\$( ls -ld "\$app_path" )
        link=\${ls#*' -> '}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/path/filepath/path_windows_test.go

    	}
    	test := EvalSymlinksTest{"test/linkabswin", tmpDir[:3]}
    
    	// Create the symlink farm using relative paths.
    	testdirs := append(EvalSymlinksTestDirs, test)
    	for _, d := range testdirs {
    		var err error
    		path := simpleJoin(tmpDir, d.path)
    		if d.dest == "" {
    			err = os.Mkdir(path, 0755)
    		} else {
    			err = os.Symlink(d.dest, path)
    		}
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top