Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for check_output_ (0.17 sec)

  1. istioctl/pkg/writer/compare/sds/writer_test.go

    			mockWriter := NewSDSWriter(w, tt.format)
    			err := mockWriter.PrintDiffs(tt.diffs)
    			if err != nil {
    				t.Errorf("error printing secret items: %v", err)
    			}
    			checkOutput(t, w.String(), tt.expected, tt.unexpected)
    		})
    	}
    }
    
    func checkOutput(t *testing.T, output string, expected, unexpected []string) {
    	t.Helper()
    	for _, expected := range expected {
    		if !strings.Contains(output, expected) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/test2json_test.go

    	getTest := func(e event) string {
    		s, _ := e["Test"].(string)
    		return s
    	}
    
    	// checkOutput collects output from the haveEvents for the current outputTest
    	// and then checks that the collected output matches the wanted output.
    	checkOutput := func() {
    		for i < len(haveEvents) && haveEvents[i]["Action"] == "output" && getTest(haveEvents[i]) == outputTest {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

    internal invocation viewer.
    """
    import collections
    import os
    import re
    import subprocess
    import sys
    from junitparser import JUnitXml
    
    result = JUnitXml()
    try:
      files = subprocess.check_output(
          ["grep", "-rlE", '(failures|errors)="[1-9]', sys.argv[1]]
      )
    except subprocess.CalledProcessError as e:
      print("No failures found to log!")
      exit(0)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top