Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 129 for symlink2 (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    //sysnb	Settimeofday(tp *Timeval) (err error)
    //sysnb	Setuid(uid int) (err error)
    //sys	Stat(path string, stat *Stat_t) (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: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.go

    //sysnb	Settimeofday(tp *Timeval) (err error)
    //sysnb	Setuid(uid int) (err error)
    //sys	Stat(path string, stat *Stat_t) (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: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
  6. pkg/volume/util/hostutil/hostutil_linux.go

    func (hu *HostUtil) PathExists(pathname string) (bool, error) {
    	return utilpath.Exists(utilpath.CheckFollowSymlink, pathname)
    }
    
    // EvalHostSymlinks returns the path name after evaluating symlinks.
    // TODO once the nsenter implementation is removed, this method can be removed
    // from the interface and filepath.EvalSymlinks used directly
    func (hu *HostUtil) EvalHostSymlinks(pathname string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. 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)
  8. src/os/exec/lp_windows_test.go

    		default:
    			paths = append(paths, filepath.Join(root, d))
    		}
    	}
    	return strings.Join(paths, string(os.PathListSeparator))
    }
    
    // installProgs creates executable files (or symlinks to executable files) at
    // multiple destination paths. It uses root as prefix for all destination files.
    func installProgs(t *testing.T, root string, files []string) {
    	for _, f := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:38:12 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  9. src/os/os_unix_test.go

    	dir, err := f.Stat()
    	if err != nil {
    		t.Fatalf("stat %s: %s", f.Name(), err)
    	}
    
    	linkname := f.Name() + "2"
    	if err := Symlink(f.Name(), linkname); err != nil {
    		if runtime.GOOS == "android" && IsPermission(err) {
    			t.Skip("skipping test on Android; permission error creating symlink")
    		}
    		t.Fatalf("link %s -> %s: %v", f.Name(), linkname, err)
    	}
    	defer Remove(linkname)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/subr.go

    			if f.Sym.Uniq() {
    				continue
    			}
    			f.Sym.SetUniq(true)
    			slist = append(slist, symlink{field: f})
    		}
    
    		return
    	}
    
    	u = types.ReceiverBaseType(t)
    	if u != nil {
    		for _, f := range u.Methods() {
    			if f.Sym.Uniq() {
    				continue
    			}
    			f.Sym.SetUniq(true)
    			slist = append(slist, symlink{field: f})
    		}
    	}
    }
    
    func expand1(t *types.Type, top bool) {
    	if t.Recur() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
Back to top