| /test/stcnv/usr/src/suites/storage/jist/lib/com/sun/jist/command/ |
| fcinfoLogic.java | 36 * JIST Sun Solaris[tm] 10 & 11 fcinfo(1M) Command Line Interface Test Logic. 176 tree = "Solaris Fibre Channel HBA Port Command Line Interface"; 256 String[] line, words; local 265 line = result.split(newline); 267 for (int i = -1; ++i < line.length; ) { 268 if (line[i].startsWith("HBA Port WWN:")) { 275 for (int j = -1; ++j < line.length; ) { 276 if (line[j].startsWith("HBA Port WWN:")) { 277 words = line[j].trim().split(" "); 294 String[] line, words local 329 String[] line; local [all...] |
| mpathadmLogic.java | 42 * JIST Sun Solaris[tm] 11 mpathadm(1M) Command Line Interface Test Logic. 256 String line; local 267 while ((line = br.readLine()) != null) { 268 if (!line.trim().startsWith("mpxio-disable")) { 273 words = line.split("\""); 607 String[] line, name = new String[0]; local 615 line = result.split(newline); 616 if (line.length < 2) { 620 for (int i = -1; ++i < line.length; ) { 621 if (line[i].contains("/dev/rdsk/") | 645 String[] line, name; local 679 String[] line, words; local 720 String[] line, v1, v2; local 774 String[] line, word; local 837 String[] line, words; local 880 String[] line, words; local [all...] |
| /test/stcnv/usr/src/suites/os/xvm/virt-install/tests/zvol/ |
| tp_zvol_013.py | 52 for line in zfs_list.split ("\n"): 53 if line.startswith ("vipool") and line.endswith ("/vipool"):
|
| /test/stcnv/usr/src/tools/diskomizer/ |
| prompt.c | 48 append(char **str, char *line) 53 len = strlen(line) + 1; 55 len = strlen(line) + strlen(*str) + 2; 67 (void) strcat(tmp, line); 93 char *line; local 98 "Enter devices to test, one device per line, end with a ^D\n"); 100 while ((line = getline(tty, "Device: ")) != NULL) { 101 append(&res, line); 104 if ((line = getline(tty, 106 if (*line == 'Y' || *line == 'y') [all...] |
| /test/stcnv/usr/src/suites/nfs/nfsv4/tests/other_tests/dtrace_v4/ |
| parse_output.py | 73 # parse file line by line to extract compound and ops 75 for line in f: 76 if len(line.strip()) == 0: 78 vprint("Blank line, skipped\n%03d:" % linenum) 82 if line.endswith("COMPOUND Start!\n"): 83 vprint("COMPOUND Start found\n%03d:%s" % (linenum, line)) 85 elif line.endswith("COMPOUND Done!\n"): 86 vprint("COMPOUND Done found\n%03d:%s" % (linenum, line)) 88 elif line.endswith("OP Start!\n") [all...] |
| /test/stcnv/usr/src/suites/storage/fwflash/src/lib/ksh/ |
| util_cmd.ksh | 173 while read line; do 174 echo "${ex_phase} STDOUT: $line" >> $EXECUTION_RECORD 179 while read line; do 180 echo "${ex_phase} STDERR: $line" >> $EXECUTION_RECORD 252 # is_valid_test_case <test case data in a line> 255 # Read test data in line and check if it is a valid test case 257 # 1. The line contains comment sign(#) 258 # 2. The line has nothing 266 typeset line="$1" 267 [[ -z "$line" ]] && return [all...] |
| /test/ontest-stc1/usr/ontest/uts/fs/nfs/nfsv4-test/tests/other_tests/dtrace_v4/ |
| parse_output.py | 53 for line in f: 55 if line.endswith("COMPOUND Start!\n"): 59 elif line.endswith("OP Start!\n"): 60 lower_index = line.find("-") + 1 61 upper_index = line.rfind("-") 64 start_op = start_op + line[lower_index].upper() 74 elif line.endswith("OP Done!\n"): 75 lower_index = line.find("-") + 1 76 upper_index = line.rfind("-") 77 found_ops.add(line[lower_index:upper_index].upper() [all...] |
| /test/stcnv/usr/src/suites/storage/ndmp/protocol/tests/configure/ |
| tc_configure.ksh | 111 read -u3 line 116 if [[ "$line" = *([ ]) || "$line" = *([ ])#* ]] 118 echo $line 122 variable_name=`echo $line | awk -F= '{print $1}'` 126 echo "$line"
|
| /test/ontest-stc2/src/suites/os/smf/tests/svc.startd/tests/context/assertion_015/ |
| context_015.ksh | 132 line=`grep_logline_entry $test_service $test_instance start groupname` 134 print -- "--DIAG: Could not find groupname line from " 135 print -- " start method '${line}'" 138 if [ "$line" != $ctx_group ]; then 139 print -- "--DIAG: Did not have groupname==$ctx_group in '$line'" 142 line=`grep_logline_entry $test_service $test_instance start username` 144 print -- "--DIAG: Could not find username line from " 145 print -- " start method '${line}'" 148 if [ "$line" != $ctx_user ]; then 149 print -- "--DIAG: Did not have username==$ctx_user in '$line'" [all...] |
| /test/stcnv/usr/src/suites/os/smf/tests/svc.startd/tests/context/assertion_015/ |
| context_015.ksh | 132 line=`grep_logline_entry $test_service $test_instance start groupname` 134 print -- "--DIAG: Could not find groupname line from " 135 print -- " start method '${line}'" 138 if [ "$line" != $ctx_group ]; then 139 print -- "--DIAG: Did not have groupname==$ctx_group in '$line'" 142 line=`grep_logline_entry $test_service $test_instance start username` 144 print -- "--DIAG: Could not find username line from " 145 print -- " start method '${line}'" 148 if [ "$line" != $ctx_user ]; then 149 print -- "--DIAG: Did not have username==$ctx_user in '$line'" [all...] |
| /test/stcnv/usr/src/suites/os/xvm/virt-install/tests/file/ |
| tp_file_010.py | 50 for line in clone.stdout.split ("\n"): 51 if "DEBUG" in line:
|
| /test/stcnv/usr/src/suites/os/xvm/virt-install/tests/ufs/ |
| tp_ufs_004.py | 50 for line in domu.vistderr: 51 if "DEBUG" in line:
|
| /test/stcnv/usr/src/suites/storage/comstar/src/lib/ksh/ |
| comstar_tcc.ksh | 66 grep -v '^#' $TP_ENV | while read line 68 typeset var=$(echo "$line" | cut -d= -f1) 69 typeset val=$(echo "$line" | cut -d= -f2-)
|
| /test/stcnv/usr/src/suites/storage/comstar/tests/configure/ |
| iscsi_configure.ksh | 84 read -u3 line 89 if [[ "$line" = *([ ]) || "$line" = *([ ])#* ]] 91 echo $line 95 variable_name=${line%%=*} 100 variable_val=${line##*=} 107 echo "$line" 110 echo "$line"
|
| /test/ontest-stc2/src/suites/os/smf/tests/libscf-low/templates/scf_tmpl_iter_props/ |
| tmpl_iterprops_setup.ksh | 102 while read -u3 line 106 # the line get the name and type, and setting the INPG 110 # end of the pg_pattern line, and then set the INPG 117 0) echo $line | grep "<pg_pattern" > /dev/null 2>&1 124 n=`get_value name $line | sed -e "s/\'//g" | \ 130 t=`get_value type $line | sed -e "s/\'//g" | \ 134 echo $line | grep ">" > /dev/null 2>&1 142 1) echo $line | grep ">" > /dev/null 2>&1 150 n=`get_value name $line | sed -e "s/\'//g" | \ 156 t=`get_value type $line | sed -e "s/\'//g" | [all...] |
| /test/ontest-stc2/src/tools/tet/contrib/ctitools/src/utils/ |
| create_tet_scen_file_by_template.ksh | 65 read -u3 line 69 [[ "$line" = *([ ]) ]] && { echo "$line"; continue; } 70 [[ "$line" = *([ ])#* ]] && { echo "$line"; continue; } 72 if [[ "$line" != " "* && "$line" != " "* ]] 75 SCEN="$line" 80 [[ -z "$SCEN" ]] && { echo "$line"; continue; } 82 if [[ "$line" = *([ ]):remote* ] [all...] |
| /test/stcnv/usr/src/suites/os/smf/tests/libscf-low/templates/scf_tmpl_iter_props/ |
| tmpl_iterprops_setup.ksh | 102 while read -u3 line 106 # the line get the name and type, and setting the INPG 110 # end of the pg_pattern line, and then set the INPG 117 0) echo $line | grep "<pg_pattern" > /dev/null 2>&1 124 n=`get_value name $line | sed -e "s/\'//g" | \ 130 t=`get_value type $line | sed -e "s/\'//g" | \ 134 echo $line | grep ">" > /dev/null 2>&1 142 1) echo $line | grep ">" > /dev/null 2>&1 150 n=`get_value name $line | sed -e "s/\'//g" | \ 156 t=`get_value type $line | sed -e "s/\'//g" | [all...] |
| /test/stcnv/usr/src/tools/tet/contrib/ctitools/src/utils/ |
| create_tet_scen_file_by_template.ksh | 65 read -u3 line 69 [[ "$line" = *([ ]) ]] && { echo "$line"; continue; } 70 [[ "$line" = *([ ])#* ]] && { echo "$line"; continue; } 72 if [[ "$line" != " "* && "$line" != " "* ]] 75 SCEN="$line" 80 [[ -z "$SCEN" ]] && { echo "$line"; continue; } 82 if [[ "$line" = *([ ]):remote* ] [all...] |
| /test/ontest-stc2/src/suites/os/smf/tests/svccfg/tests/templates/pg_pattern_name/ |
| pg_pattern_name_015.ksh | 107 while read -u3 line 109 echo $line | grep "^<pg_pattern " > /dev/null 2>&1 115 echo "$line" >> ${registration_file}.new 117 echo "$line" >> ${registration_file}.new 118 echo "$line" >> ${registration_file}.dup 121 echo $line | grep "^</pg_pattern" > /dev/null 2>&1
|
| /test/ontest-stc2/src/suites/os/smf/tests/svccfg/tests/templates/prop_pattern_name/ |
| prop_pattern_name_014.ksh | 106 while read -u3 line 108 echo $line | grep "^<prop_pattern " > /dev/null 2>&1 114 echo "$line" >> ${registration_file}.new 116 echo "$line" >> ${registration_file}.new 117 echo "$line" >> ${registration_file}.dup 120 echo $line | grep "^</prop_pattern" > /dev/null 2>&1
|
| /test/ontest-stc2/src/suites/zfs/tests/functional/cli_root/zpool_add/ |
| zpool_add.kshlib | 78 typeset line 81 while read -r line 83 vfstabdev=`$ECHO "$line" | $AWK '{print $1}'` 101 typeset line 104 while read -r line 106 mnttabdev=`$ECHO "$line" | $AWK '{print $1}'`
|
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/cli_root/zpool_add/ |
| zpool_add.kshlib | 78 typeset line 81 while read -r line 83 vfstabdev=`$ECHO "$line" | $AWK '{print $1}'` 101 typeset line 104 while read -r line 106 mnttabdev=`$ECHO "$line" | $AWK '{print $1}'`
|
| /test/stcnv/usr/src/suites/os/smf/tests/svccfg/tests/templates/pg_pattern_name/ |
| pg_pattern_name_015.ksh | 107 while read -u3 line 109 echo $line | grep "^<pg_pattern " > /dev/null 2>&1 115 echo "$line" >> ${registration_file}.new 117 echo "$line" >> ${registration_file}.new 118 echo "$line" >> ${registration_file}.dup 121 echo $line | grep "^</pg_pattern" > /dev/null 2>&1
|
| /test/stcnv/usr/src/suites/os/smf/tests/svccfg/tests/templates/prop_pattern_name/ |
| prop_pattern_name_014.ksh | 106 while read -u3 line 108 echo $line | grep "^<prop_pattern " > /dev/null 2>&1 114 echo "$line" >> ${registration_file}.new 116 echo "$line" >> ${registration_file}.new 117 echo "$line" >> ${registration_file}.dup 120 echo $line | grep "^</prop_pattern" > /dev/null 2>&1
|
| /test/ontest-stc2/src/suites/os/xvm/virt-install/tests/file/ |
| tp_file_010.py | 52 for line in clone.stdout.split ("\n"): 53 if "DEBUG" in line:
|