/third_party/ltp/testcases/kernel/syscalls/syslog/ |
H A D | syslog09 | 60 allow1=`grep -c "syslogtst: error level is logged" /var/log/messages` 61 donot_allow1=`grep -c "syslogtst: warning level not to be logged" /var/log/messages` 78 allow2=`grep -c "syslogtst: error level is logged" /var/log/messages` 79 donot_allow2=`grep -c "syslogtst: warning level not to be logged" /var/log/messages`
|
/third_party/ltp/testcases/network/multicast/mc_commo/ |
H A D | mc_commo.sh | 40 OCTET=$(ps -ewf | grep [m]c_commo | wc -l | awk '{print $1}') 57 grep -q "cannot join group" $OUTFILE && \ 60 netstat -ng | grep -q $GROUP_ADDR || \ 74 grep -q "$(tst_ipaddr rhost) [0-9] [0-9]" $OUTFILE || \
|
/third_party/ltp/testcases/network/multicast/mc_cmds/ |
H A D | mc_cmds.sh | 51 ip addr show $(tst_iface) | grep -q 'MULTICAST' || \ 54 ip maddr show $(tst_iface) | grep -q '224.0.0.1' 63 grep -q 224.0.0.1 || \ 77 grep -q $(tst_ipaddr) ping_out.log
|
/third_party/elfutils/tests/ |
H A D | backtrace-subr.sh | 22 if grep -w main $1; then 36 if ! grep -w gsignal $1; then 49 if grep -w backtracegen $1; then 62 if [ $(grep -E -v <$1 'dwfl_thread_getframes: (No DWARF information found|no matching address range|address out of range|Invalid register|\(null\))$' \ 86 if grep -q ': Unwinding not supported for this architecture$' $err; then 104 if grep -E 'dwfl_thread_getframes(.*)No DWARF information found' $err; then
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_grep.py | 2 Non-gui unit tests for grep.GrepDialog methods. 8 from idlelib import grep namespace 30 grep_it = grep.GrepDialog.grep_it 53 filelist = list(grep.findfiles('invaliddir', '*.*', False)) 59 ff = grep.findfiles 68 ff = grep.findfiles 85 filelist = list(ff(self.path, 'grep.*', False)) 90 ff = grep.findfiles 92 grepfile = os.path.join(parent, 'grep.py')
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | ethtool_mm.sh | 60 grep -q 'SUCCEEDED' 63 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 95 grep -q 'DISABLED' 98 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 133 grep -q 'SUCCEEDED' 136 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 166 grep -q "Additional fragment size: $add_frag_size" 187 grep -q "Preemption capability active" 191 grep -q "Preemption capability active"
|
/kernel/linux/linux-6.6/tools/testing/selftests/amd-pstate/ |
H A D | run.sh | 17 VENDOR=$(cat /proc/cpuinfo | grep -m 1 'vendor_id' | awk '{print $NF}') 56 for cpu in `ls $CPUROOT | grep "cpu[0-9].*"`; do 73 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*") 101 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*") 217 elif yum list available | grep dbench > /dev/null 2>&1; then 231 if ! echo "$ARCH" | grep -q x86; then 236 if ! echo "$VENDOR" | grep -iq amd; then
|
/kernel/linux/linux-6.6/samples/pktgen/ |
H A D | functions.sh | 82 result=$(grep "Result: OK:" $proc_ctrl) || true 84 grep "Result:" $proc_ctrl >&2 151 irqs=$(grep "$queues" /proc/interrupts | cut -f1 -d:) 152 [ -z "$irqs" ] && irqs=$(grep $IFACE /proc/interrupts | cut -f1 -d:) 154 do grep "$i:.*TxRx" /proc/interrupts | grep -v fdir | cut -f 1 -d : ;\ 195 shrink=( $(grep -E -o "$sep{2,}" <<< $addr) )
|
/third_party/ltp/testcases/kernel/power_management/ |
H A D | pm_include.sh | 29 if ( ! ${3} "${1}" ${2} | grep -v "#" > /dev/null ) ; then 82 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'` 83 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'` 126 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'` 127 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'` 137 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'` 138 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq \
|
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
H A D | ima_setup.sh | 82 grep -q "Device or resource busy" log && tst_brk TCONF "$err" 91 grep $grep_params "$pattern" $IMA_POLICY 100 if ! grep $grep_params "$pattern" $IMA_POLICY; then 110 grep -q "ima_$policy" /proc/cmdline && return 112 if echo "$i" | grep -q '^ima_policy='; then 113 echo "$i" | grep -q -e "|[ ]*$policy" -e "$policy[ ]*|" -e "=$policy" && return 0 133 dir="$(grep ^$type /proc/mounts | cut -d ' ' -f2 | head -1)" 153 for i in $(grep ^CONFIG_IMA $config); do 275 line="$(grep $test_file $ASCII_MEASUREMENTS | tail -1)"
|
H A D | ima_tpm.sh | 47 for i in $(grep -e ^CONFIG_.*_TPM -e ^CONFIG_TCG $config); do 79 if dmesg | grep -q 'activating TPM-bypass'; then 81 elif dmesg | grep -q '1\.2 TPM (device-id'; then 84 elif dmesg | grep -q '2\.0 TPM (device-id'; then 167 pcr=$(grep -E "^($ALGORITHM: )*PCRAgg(.*10)*:" hash.txt | tail -1 \ 221 boot_aggregate=$($cmd | grep "$ALGORITHM:" | cut -d':' -f2) 274 hash=$(echo "$out" | grep "^PCR-10" | cut -d' ' -f2)
|
/third_party/skia/third_party/externals/microhttpd/ |
H A D | config.guess | 152 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` 187 | grep -q __ELF__ 369 grep IS_64BIT_ARCH >/dev/null 550 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then 569 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 577 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 683 grep -q __LP64__ 903 objdump --private-headers /bin/sh | grep -q ld.so.1 913 | grep -q __ARM_EABI__ 918 | grep [all...] |
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | merge_config.sh | 130 grep -q -w $CFG $TMP_FILE || continue 131 PREV_VAL=$(grep -w $CFG $TMP_FILE) 132 NEW_VAL=$(grep -w $CFG $MERGE_FILE) 183 REQUESTED_VAL=$(grep -w -e "$CFG" $TMP_FILE) 184 ACTUAL_VAL=$(grep -w -e "$CFG" "$KCONFIG_CONFIG" || true)
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | test_arm_coresight.sh | 15 perf list | grep -q 'cs_etm//' && return 0 52 grep -E " +$1 +[0-9]+ .* +branches:(.*:)? +" > /dev/null 2>&1 63 grep -E " +[0-9]+\.[0-9]+% +[0-9]+\.[0-9]+% +$1 " > /dev/null 2>&1 74 grep -E " +[0-9]+\.[0-9]+% +$1" > /dev/null 2>&1 90 echo "$1" | grep -E -q -v "tpiu"
|
H A D | record_offcpu.sh | 31 if perf record --off-cpu -o /dev/null --quiet true 2>&1 | grep BUILD_BPF_SKEL 48 if ! perf evlist -i ${perfdata} | grep -q "offcpu-time" 54 if ! perf report -i ${perfdata} -q --percent-limit=90 | grep -E -q sleep 74 if ! perf evlist -i ${perfdata} | grep -q "offcpu-time"
|
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | merge_config.sh | 143 grep -q -w $CFG $TMP_FILE || continue 144 PREV_VAL=$(grep -w $CFG $TMP_FILE) 145 NEW_VAL=$(grep -w $CFG $MERGE_FILE) 203 REQUESTED_VAL=$(grep -w -e "$CFG" $TMP_FILE) 204 ACTUAL_VAL=$(grep -w -e "$CFG" "$KCONFIG_CONFIG" || true)
|
/third_party/ltp/testcases/commands/df/ |
H A D | df01.sh | 18 DF_FS_TYPE="$(grep -E "$TST_MNTPOINT ($TST_FS_TYPE|fuseblk)" /proc/mounts | awk 'NR==1{print $3}')" 62 grep -q -E "unrecognized option | invalid option" output 89 grep $TST_DEVICE output | grep -q "${total}.*${used}" 178 grep $TST_DEVICE output | grep -q $TST_MNTPOINT
|
/third_party/ltp/testcases/kernel/tracing/dynamic_debug/ |
H A D | dynamic_debug01.sh | 28 if grep -q debugfs /proc/mounts ; then 33 if ! grep -q debugfs /proc/filesystems ; then 57 grep -v "^#" "$DEBUGFS_CONTROL" > "$DYNDEBUG_STATEMENTS" 86 | grep -v -q "^#" ; then 111 if grep -q -e "Kernel panic" -e "Oops" -e "general protection fault" \
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | test-suite | 90 lines=$(grep '^ \* check-[a-z-]*' $1 | \ 143 grep "$patt:" "$ifile" | \ 146 grep -s -q "$val" "$ofile" 185 grep "$patt([0-9-]*\(, *\)*[0-9-]*):" "$ifile" | \ 189 n=$(grep -s "$pat" "$ofile" | wc -l) 220 grep "$patt" "$ifile" | sed -e "s/^.*$patt(\(.*\)): *\(.*\)$/\1 \2/" | \ 222 grep -s "^ $ins\\.*[0-9]* " "$ofile" | grep -v -s -q "$pat" 238 grep "$patt:" "$ifile" | sed -e "s/^.*$patt: *\(.*\)$/\1/" | \ 240 grep [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | makelst | 20 t1=`$3 --syms $1 | grep .text | grep -m1 " F "` 26 t3=`grep $t2 $2`
|
/kernel/linux/linux-6.6/scripts/ |
H A D | makelst | 20 t1=`$3 --syms $1 | grep .text | grep -m1 " F "` 26 t3=`grep $t2 $2`
|
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/fat/ |
H A D | run_fat_tests.sh | 51 grep new "${old_path}" >/dev/null 2>&1 52 grep old "${new_path}" >/dev/null 2>&1 67 grep new "${old_path}" >/dev/null 2>&1 68 grep old "${new_path}" >/dev/null 2>&1
|
/third_party/mesa3d/.gitlab-ci/ |
H A D | skqp-runner.sh | 34 if echo "${SKQP_BACKEND}" | grep -qE 'vk|gl(es)?' 44 if echo "${SKQP_BACKEND}" | grep -qE "unitTest" 53 if echo "${SKQP_BACKENDS}" | grep -qE 'vk' 129 if echo "${SKQP_BACKENDS}" | grep -qE "unitTest"
|
/third_party/ltp/testcases/kernel/fs/binfmt_misc/ |
H A D | binfmt_misc02.sh | 31 if [ $? -ne 0 ] || ! grep -q "$string" temp; then 37 if [ $? -ne 0 ] || grep -q enable "$mntpoint/$name"; then 43 if [ $? -eq 0 ] || grep -q "$string" temp; then 57 if [ $? -eq 0 ] || grep -q "$string" temp; then
|
/third_party/ltp/testcases/commands/eject/ |
H A D | eject-tests.sh | 25 if grep -q "$CD_DRIVE" /proc/mounts; then 43 if grep -q "eject: default device:" eject.out; then 55 if grep -q "CD-ROM eject command succeeded" eject.out; then 99 if grep -q "$CD_DRIVE" /proc/mounts; then
|