Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for testProg (0.23 sec)

  1. pkg/kubelet/logs/container_log_manager_test.go

    	testFile.Close()
    
    	testLog := testFile.Name()
    	c := &containerLogManager{osInterface: container.RealOS{}}
    	require.NoError(t, c.compressLog(testLog))
    	_, err = os.Stat(testLog + compressSuffix)
    	assert.NoError(t, err, "log should be compressed")
    	_, err = os.Stat(testLog + tmpSuffix)
    	assert.Error(t, err, "temporary log should be renamed")
    	_, err = os.Stat(testLog)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/os/env.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // General environment variables.
    
    package os
    
    import (
    	"internal/testlog"
    	"syscall"
    )
    
    // Expand replaces ${var} or $var in the string based on the mapping function.
    // For example, [os.ExpandEnv](s) is equivalent to [os.Expand](s, [os.Getenv]).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/AbstractDependencyDescriptorFactoryInternalSpec.groovy

    abstract class AbstractDependencyDescriptorFactoryInternalSpec extends Specification {
        static final TEST_DEP_CONF = "depconf1"
    
        static final TEST_EXCLUDE_RULE = new org.gradle.api.internal.artifacts.DefaultExcludeRule("testOrg", null)
        static final TEST_IVY_EXCLUDE_RULE = getTestExcludeRule()
    
        static final ARTIFACT = new DefaultDependencyArtifact("name", "type", "classifier", "ext", null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 19:31:08 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/os/proc.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Process etc.
    
    package os
    
    import (
    	"internal/testlog"
    	"runtime"
    	"syscall"
    )
    
    // Args hold the command-line arguments, starting with the program name.
    var Args []string
    
    func init() {
    	if runtime.GOOS == "windows" {
    		// Initialized in exec_windows.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

        Properties testProp = new Properties();
    
        Map<String, String> result = Maps.fromProperties(testProp);
        assertTrue(result.isEmpty());
        testProp.setProperty("first", "true");
    
        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals(1, result.size());
        testProp.setProperty("second", "null");
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/log/LoggerTest.java

         * @throws Exception
         */
        @Test
        public void testFatal() throws Exception {
            logger.fatal("fatal");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLog() throws Exception {
            logger.log("ILOGTEST0001");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLogWithArgs() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/test.go

    	testlog, err := os.ReadFile(a.Objdir + "testlog.txt")
    	if err != nil || !bytes.HasPrefix(testlog, testlogMagic) || testlog[len(testlog)-1] != '\n' {
    		if cache.DebugTest {
    			if err != nil {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: %v\n", a.Package.ImportPath, err)
    			} else {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: malformed\n", a.Package.ImportPath)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. src/cmd/trace/testdata/go122.test

    String id=34
    	data="/usr/local/google/home/mknyszek/work/go-1/src/net/net.go"
    String id=35
    	data="main.main"
    String id=36
    	data="/usr/local/google/home/mknyszek/work/go-1/src/cmd/trace/v2/testdata/testprog/main.go"
    String id=37
    	data="syscall.connect"
    String id=38
    	data="syscall.Connect"
    String id=39
    	data="net.(*netFD).connect"
    String id=40
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  9. src/os/file.go

    func Chdir(dir string) error {
    	if e := syscall.Chdir(dir); e != nil {
    		testlog.Open(dir) // observe likely non-existent directory
    		return &PathError{Op: "chdir", Path: dir, Err: e}
    	}
    	if runtime.GOOS == "windows" {
    		getwdCache.Lock()
    		getwdCache.dir = dir
    		getwdCache.Unlock()
    	}
    	if log := testlog.Logger(); log != nil {
    		wd, err := Getwd()
    		if err == nil {
    			log.Chdir(wd)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. pkg/spiffe/spiffe_test.go

    			expectedURI:    "spiffe://cluster.local/ns/foo/sa/bar",
    		},
    		{
    			namespace:      "foo",
    			serviceAccount: "bar",
    			trustDomain:    "kube-federating-id@testproj.iam.gserviceaccount.com",
    			expectedURI:    "spiffe://kube-federating-id.testproj.iam.gserviceaccount.com/ns/foo/sa/bar",
    		},
    	}
    	for id, tc := range testCases {
    		got, err := genSpiffeURI(tc.trustDomain, tc.namespace, tc.serviceAccount)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top