| /test/ohacts/src/tset/geo/scripts/ |
| check_sndrii_version.ksh | 34 output=`/usr/bin/pkginfo -l SUNWrdcr | grep VERSION | awk '{print $2}' | awk -F',' '{print $1}'` 37 if [[ -z $output ]] 43 echo $output
|
| get_disk_param.ksh | 51 output=`$RSH $node -l root /usr/sbin/prtvtoc $disk \ 53 if [[ -z $output ]] 59 echo $output
|
| get_num_of_nodes_to_disk.ksh | 51 output=`$RSH $rsh_node -l root /usr/cluster/bin/scdidadm -L |grep "/dev/did/rdsk/$did " | wc -l` 53 if [[ -z $output ]] 59 retval=`echo $output |awk -F'\t' ' { print $1 } '`
|
| check_dsstat.ksh | 58 output=`$DSSTAT -m sndr -s $host_and_vol | awk '{print $3}'` 59 if [[ -z $output ]] 65 echo "$output"
|
| get_rdisk_path.ksh | 49 output=`$RSH $node -l root /usr/cluster/bin/scdidadm -L |grep /dev/did/rdsk/$did | grep $just_node | awk '{print $2}'` 50 if [[ -z $output ]] 56 echo $output |awk -F'/' ' { print $4 } '
|
| /test/stcnv/usr/src/suites/os/xvm/virt-install/tests/crossbow/ |
| tp_crossbow_003.py | 45 (status, output) = commands.getstatusoutput (cmd) 46 if output.strip() != "192.168.4.101 is alive": 48 ctiutils.cti_report (output) 54 (status, output) = commands.getstatusoutput (cmd) 55 if output.strip() != "192.168.4.100 is alive": 57 ctiutils.cti_report (output) 63 (status, output) = commands.getstatusoutput (cmd) 64 if output.strip() != "no answer from 192.168.4.100": 66 ctiutils.cti_report (output)
|
| /test/ontest-stc2/src/suites/storage/sdts/include/ |
| smp_util_cmd.kshlib | 87 # the output from the rest of the journal file. This function is 90 # mysteries of how UNIX shells work, it's not unusual for output from 92 # in with the output of this function in the journal file.) 103 typeset output=${TMPDIR}/final_execution_record_$$ 104 echo "------Record of commands executed------" >$output 105 echo "Phase Command" >>$output 106 echo "--------- ----------------------------" >> $output 107 cat $EXECUTION_RECORD >> $output 108 echo "------End of cmd execution record------" >> $output 109 cti_reportfile $output [all...] |
| /test/ontest-stc2/src/suites/zfs/tests/functional/cli_root/zfs_upgrade/ |
| zfs_upgrade_002_pos.ksh | 61 if [[ -f $output ]]; then 62 log_must $RM -f $output 69 typeset output=/tmp/zfs-versions.$$ 75 $ZFS upgrade -v | $NAWK '$1 ~ "^[0-9]+$" {print $0}'> $output 76 log_must eval '$GREP "${expect_str1}" $output > /dev/null 2>&1' 77 log_must eval '$GREP "${expect_str2}" $output > /dev/null 2>&1'
|
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/cli_root/zfs_upgrade/ |
| zfs_upgrade_002_pos.ksh | 61 if [[ -f $output ]]; then 62 log_must $RM -f $output 69 typeset output=/tmp/zfs-versions.$$ 75 $ZFS upgrade -v | $NAWK '$1 ~ "^[0-9]+$" {print $0}'> $output 76 log_must eval '$GREP "${expect_str1}" $output > /dev/null 2>&1' 77 log_must eval '$GREP "${expect_str2}" $output > /dev/null 2>&1'
|
| /test/stcnv/usr/src/suites/storage/sdts/include/ |
| smp_util_cmd.kshlib | 87 # the output from the rest of the journal file. This function is 90 # mysteries of how UNIX shells work, it's not unusual for output from 92 # in with the output of this function in the journal file.) 103 typeset output=${TMPDIR}/final_execution_record_$$ 104 echo "------Record of commands executed------" >$output 105 echo "Phase Command" >>$output 106 echo "--------- ----------------------------" >> $output 107 cat $EXECUTION_RECORD >> $output 108 echo "------End of cmd execution record------" >> $output 109 cti_reportfile $output [all...] |
| /test/stcnv/usr/src/suites/os/xvm/virt-install/tests/linux/ |
| tp_linux_001.py | 34 tp_linux_001 - test purpose function to validate the uname output from a 40 # get uname -a output from the guest 42 output = commands.getoutput (cmd) 43 if not "GNU/Linux" in output: 44 ctiutils.cti_report ("uname -a output: %s" % output) 45 ctiutils.cti_report ("uname -a output does not contain GNU/Linux")
|
| /test/ontest-stc2/src/suites/zfs/tests/functional/xattr/ |
| xattr_008_pos.ksh | 42 # 2. List the . directory, verifying the output 58 for file in /tmp/output.$$ /tmp/expected-output.$$ \ 74 OUTPUT=$($RUNAT $TESTDIR/myfile.$$ $LS .) 75 if [ "$OUTPUT" != "passwd" ] 80 log_must eval "$RUNAT $TESTDIR/myfile.$$ $LS -a . > /tmp/output.$$" 82 create_expected_output /tmp/expected-output.$$ . .. passwd 84 log_must $DIFF /tmp/output.$$ /tmp/expected-output.$$ 87 log_must eval "$RUNAT $TESTDIR/myfile.$$ $LS . > /tmp/output.$$ [all...] |
| /test/stcnv/usr/src/suites/fs/zfs/tests/functional/xattr/ |
| xattr_008_pos.ksh | 42 # 2. List the . directory, verifying the output 58 for file in /tmp/output.$$ /tmp/expected-output.$$ \ 74 OUTPUT=$($RUNAT $TESTDIR/myfile.$$ $LS .) 75 if [ "$OUTPUT" != "passwd" ] 80 log_must eval "$RUNAT $TESTDIR/myfile.$$ $LS -a . > /tmp/output.$$" 82 create_expected_output /tmp/expected-output.$$ . .. passwd 84 log_must $DIFF /tmp/output.$$ /tmp/expected-output.$$ 87 log_must eval "$RUNAT $TESTDIR/myfile.$$ $LS . > /tmp/output.$$ [all...] |
| /test/ontest-stc2/src/tools/stf/contrib/nfs/include/ |
| nfs-smf.kshlib | 37 # which function(s) will have verbose output (set -x) turned on. 82 typeset output=$STF_TMPDIR/$FNAME.out.$$ 93 >> $output 2>&1 97 cat $output 98 rm -f $output 114 >> $output 2>&1 120 cat $output 121 rm -f $output 126 sharemgr_share default $SPATH $SHROPT >> $output 2>&1 131 cat $output [all...] |
| /test/ontest-stc2/src/suites/os/xvm/virt-install/tests/linux/ |
| tp_linux_001.py | 35 tp_linux_001 - test purpose function to validate the uname output from a 41 # get uname -a output from the guest 43 output = commands.getoutput (cmd) 44 if not "GNU/Linux" in output: 45 common.report ("uname -a output: %s" % output) 46 common.report ("uname -a output does not contain GNU/Linux")
|
| /test/stcnv/usr/src/suites/os/lofi/src/lib/ksh/ |
| util_common.ksh | 66 # the output from the rest of the journal file. This function is 69 # mysteries of how UNIX shells work, it's not unusual for output from 71 # in with the output of this function in the journal file.) 81 typeset output=${TMPDIR}/final_execution_record_$$ 82 echo "------Record of commands executed------" >$output 83 echo "Phase Command" >>$output 84 echo "--------- ----------------------------" >> $output 85 cat $EXECUTION_RECORD >> $output 86 echo "------End of cmd execution record------" >> $output 87 cti_reportfile $output [all...] |
| /test/stcnv/usr/src/tools/tet/contrib/api/src/ |
| build_fail_tool | 3 OUTPUT=${OUTPUT:-$TTY} 4 echo "$OUTPUT" | grep -i "not a tty" 6 OUTPUT=tty.output 8 echo "Build Failed for $*" >>$OUTPUT 2>&1
|
| buildtool | 3 OUTPUT=${OUTPUT:-$TTY} 4 echo "$OUTPUT" | grep -i "not a tty" 6 OUTPUT=tty.output 8 echo "Building $*" >>$OUTPUT 2>&1 9 make $1 >>$OUTPUT 2>&1
|
| /test/stcnv/usr/src/tools/tet/contrib/suite/src/ |
| t1-dropdead | 14 &verify(grep("Usage",@output));
|
| t11-c-2ics-tog | 10 &verify(grep(/ctest1: startup/,@output)==1 || 11 grep(/ctest1: cleanup/,output)==1); 18 @ics=grep(/ctest1: ic/,@output); 34 @tps=grep(/ctest1: ic/,@output);
|
| t12-p-2ics-tog | 10 &verify(grep(/ptest1: startup/,@output)==1 || 11 grep(/ptest1: cleanup/,output)==1); 18 @ics=grep(/ptest1: ic/,@output); 34 @tps=grep(/ptest1: ic/,@output);
|
| t13-s-2ics-tog | 10 &verify(grep(/stest1: startup/,@output)==1 || 11 grep(/stest1: cleanup/,output)==1); 18 @ics=grep(/stest1: ic/,@output); 34 @tps=grep(/stest1: ic/,@output);
|
| t14-c-2ics-sep | 10 &verify(grep(/ctest1: startup/,@output)==2 || 11 grep(/ctest1: cleanup/,output)==2); 18 @ics=grep(/ctest1: ic/,@output); 34 @tps=grep(/ctest1: ic/,@output);
|
| t15-p-2ics-sep | 10 &verify(grep(/ptest1: startup/,@output)==2 || 11 grep(/ptest1: cleanup/,output)==2); 18 @ics=grep(/ptest1: ic/,@output); 34 @tps=grep(/ptest1: ic/,@output);
|
| t16-s-2ics-sep | 10 &verify(grep(/stest1: startup/,@output)==2 || 11 grep(/stest1: cleanup/,output)==2); 18 @ics=grep(/stest1: ic/,@output); 34 @tps=grep(/stest1: ic/,@output);
|