Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,311 for _mkdir (0.1 sec)

  1. src/cmd/go/testdata/script/goroot_executable.txt

    # so it should find the new tree.
    mkdir $WORK/new/pkg/tool
    exec $WORK/bin/check$GOEXE $WORK/new/bin/go$GOEXE $WORK/new
    
    [!symlink] stop 'The rest of the test cases require symlinks'
    
    # Symlinked Executable:
    # With a symlink into go tree, we should still find the go tree.
    mkdir $WORK/other/bin
    symlink $WORK/other/bin/go$GOEXE -> $WORK/new/bin/go$GOEXE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/internal/coverage/pods/pods_test.go

    	"internal/coverage/pods"
    	"os"
    	"path/filepath"
    	"runtime"
    	"testing"
    )
    
    func TestPodCollection(t *testing.T) {
    	//testenv.MustHaveGoBuild(t)
    
    	mkdir := func(d string, perm os.FileMode) string {
    		dp := filepath.Join(t.TempDir(), d)
    		if err := os.Mkdir(dp, perm); err != nil {
    			t.Fatal(err)
    		}
    		return dp
    	}
    
    	mkfile := func(d string, fn string) string {
    		fp := filepath.Join(d, fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 14:00:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathFactoryTest.groovy

            factory.addPathVariable('SUB_DIR', tmpDir.file('sub'))
    
            expect:
            def path = factory.path(tmpDir.file('sub', 'a'))
            path.url == 'file://$SUB_DIR$/a'
            path.relPath == '$SUB_DIR$/a'
        }
    
        def createsPathForARootDir() {
            factory.addPathVariable('SUB_DIR', tmpDir.file('sub'))
            factory.addPathVariable('ROOT_DIR', tmpDir.testDirectory)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/vcstest/git/vgotest1.txt

    git branch -m master
    
    git checkout --detach HEAD
    
    at 2018-02-19T18:10:06-05:00
    mkdir pkg
    echo 'package p // pkg/p.go'
    cp stdout pkg/p.go
    git add pkg/p.go
    git commit -m 'add pkg/p.go'
    git tag v0.0.0
    git tag v1.0.0
    git tag mytag
    
    git checkout --detach HEAD
    
    at 2018-02-19T18:14:23-05:00
    mkdir v2
    echo 'module "github.com/rsc/vgotest1/v2" // root go.mod'
    cp stdout go.mod
    git add go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  5. build/lib/release.sh

      kube::log::status "Building tarball: test portable"
    
      local release_stage="${RELEASE_STAGE}/test/kubernetes"
      rm -rf "${release_stage}"
      mkdir -p "${release_stage}"
    
      # First add test image files and other portable sources so we can create
      # the portable test tarball.
      mkdir -p "${release_stage}/test/images"
      cp -fR "${KUBE_ROOT}/test/images" "${release_stage}/test/"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/vcstest/svn/hello.txt

    handle svn
    
    mkdir db/transactions
    mkdir db/txn-protorevs
    chmod 0755 hooks/pre-revprop-change
    
    env ROOT=$PWD
    cd .checkout
    [GOOS:windows] svn checkout file:///$ROOT .
    [!GOOS:windows] svn checkout file://$ROOT .
    
    svn add hello.go
    svn commit --file MSG
    svn propset svn:author 'rsc' --revprop -r1
    svn propset svn:date '2017-09-22T01:12:45.861368Z' --revprop -r1
    
    svn update
    svn log --xml
    
    [GOOS:windows] replace '\n' '\r\n' .svn-log
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 19:37:03 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. pkg/volume/local/local_test.go

    }
    
    func TestCanSupport(t *testing.T) {
    	tmpDir, plug := getPlugin(t)
    	defer os.RemoveAll(tmpDir)
    
    	if !plug.CanSupport(getTestVolume(false, tmpDir, false, nil)) {
    		t.Errorf("Expected true")
    	}
    }
    
    func TestGetAccessModes(t *testing.T) {
    	tmpDir, plug := getPersistentPlugin(t)
    	defer os.RemoveAll(tmpDir)
    
    	modes := plug.GetAccessModes()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/link_matching_actionid.txt

    symlink $GOROOT -> $TESTGO_GOROOT
    
    # Set up fresh GOCACHE
    env GOCACHE=$WORK/gocache1
    mkdir $GOCACHE
    
    # Build a simple binary
    go build -o binary1 -trimpath -x main.go
    
    # Now repeat the same process with the compiler at a different local path
    env GOROOT=$WORK/goroot2
    symlink $GOROOT -> $TESTGO_GOROOT
    
    env GOCACHE=$WORK/gocache2
    mkdir $GOCACHE
    
    go build -o binary2 -trimpath -x main.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 14:18:11 UTC 2020
    - 835 bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLifecyclePluginIntegrationTest.groovy

                        }
                    )
                )
            """
    
            when:
            buildDir.mkdir()
            configurationCacheRun 'clean'
    
            then:
            configurationCache.assertStateStored()
    
            and:
            buildDir.assertDoesNotExist()
    
            when:
            buildDir.mkdir()
            configurationCacheRun 'clean'
    
            then:
            configurationCache.assertStateLoaded()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_multi_main.txt

    # Verify build -o can output multiple executables to a directory.
    
    mkdir $WORK/bin
    go build -o $WORK/bin ./cmd/c1 ./cmd/c2
    ! stderr 'multiple packages'
    
    ! go build -o $WORK/bin ./pkg1 ./pkg1
    stderr 'no main packages'
    
    ! go build ./cmd/c1
    stderr 'already exists and is a directory'
    
    # Verify build -o output correctly local packages
    mkdir $WORK/local
    go build -o $WORK/local ./exec.go
    exists $WORK/local/exec$GOEXE
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 04 17:30:40 UTC 2019
    - 699 bytes
    - Viewed (0)
Back to top