Home
last modified time | relevance | path

Searched refs:grep (Results 1 - 25 of 347) sorted by relevance

12345678910>>...14

/third_party/ltp/testcases/kernel/syscalls/syslog/
H A Dsyslog0776 emerg_old=`grep -c "syslogtst: emergency log" /var/log/messages`
77 alert_old=`grep -c "syslogtst: alert log" /var/log/messages`
78 crit_old=`grep -c "syslogtst: critical log" /var/log/messages`
79 err_old=`grep -c "syslogtst: error log" /var/log/messages`
80 warning_old=`grep -c "syslogtst: warning log" /var/log/messages`
81 notice_old=`grep -c "syslogtst: notice log" /var/log/messages`
82 info_old=`grep -c "syslogtst: info log" /var/log/messages`
83 debug_old=`grep -c "syslogtst: debug log" /var/log/messages`
102 emerg_new=`grep -c "syslogtst: emergency log" /var/log/messages`
103 alert_new=`grep
[all...]
/third_party/mbedtls/tests/
H A Dcontext-info.sh140 if ! ( grep -F 'All heap blocks were freed -- no leaks are possible' "$OUT_FILE" &&
141 grep -F 'ERROR SUMMARY: 0 errors from 0 contexts' "$OUT_FILE" ) > /dev/null
156 if grep -v '^==' "$OUT_FILE" | grep -v 'Serious error when reading debug info' | grep -v "^*" | grep "$2" >/dev/null; then :; else
163 if grep -v '^==' "$OUT_FILE" | grep -v 'Serious error when reading debug info' | grep -v "^*" | grep "
[all...]
/third_party/ltp/testcases/network/rpc/basic_tests/rpcinfo/
H A Drpcinfo01.sh16 rpcinfo -p $(tst_ipaddr) | grep tcp | sed -n 2p > rpc_out
17 rpcinfo -p $(tst_ipaddr) | grep udp | sed -n 2p >> rpc_out
19 wc -l rpc_out | grep -q "2" || \
23 TPNUM=$(grep tcp rpc_out | awk '{print $1}')
24 TVNUM=$(grep tcp rpc_out | awk '{print $2}')
25 TCPNAME=$(grep tcp rpc_out | awk '{print $5}')
26 UPNUM=$(grep udp rpc_out | awk '{print $1}')
27 UVNUM=$(grep udp rpc_out | awk '{print $2}')
28 UDPNAME=$(grep udp rpc_out | awk '{print $5}')
35 EXPECT_RHOST_PASS rpcinfo -p $thost | grep
[all...]
/third_party/elfutils/tests/
H A Drun-debuginfod-find.sh25 bsdtar --version | grep -q zstd && zstd=true || zstd=false
105 | grep "$what" | awk '{print $NF}')"
138 ps -q $PID1 -e -L -o '%p %c %a' | grep groom
139 ps -q $PID1 -e -L -o '%p %c %a' | grep scan
140 ps -q $PID1 -e -L -o '%p %c %a' | grep traverse
157 -a prog | grep 'Build ID' | cut -d ' ' -f 7`
191 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
193 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
202 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
204 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_coun
[all...]
H A Ddebuginfod-subr.sh29 bsdtar --version | grep -q zstd && zstd=true || zstd=false
92 | grep "$what" | awk '{print $NF}')"
115 -a $filename | grep 'Build ID' | cut -d ' ' -f 7`
123 -a $filename | grep 'Build ID' | cut -d ' ' -f 7`
129 -a $filename | grep 'Build ID' | cut -d ' ' -f 7`
144 ss -atn | grep -F ":$PORT1" || break
149 ss -atn | grep -F ":$PORT2" || break
/third_party/protobuf/src/google/protobuf/compiler/
H A Dzip_output_unittest.sh66 grep 'testing: testzip\.pb\.cc *OK$' $TEST_TMPDIR/testzip.list > /dev/null \
68 grep 'testing: testzip\.pb\.h *OK$' $TEST_TMPDIR/testzip.list > /dev/null \
70 grep 'testing: testzip_pb2\.py *OK$' $TEST_TMPDIR/testzip.list > /dev/null \
72 grep -i 'manifest' $TEST_TMPDIR/testzip.list > /dev/null \
88 grep '^test/jar/Foo\.java$' $TEST_TMPDIR/testzip.list > /dev/null \
90 grep '^test/jar/Bar\.java$' $TEST_TMPDIR/testzip.list > /dev/null \
92 grep '^test/jar/Outer\.java$' $TEST_TMPDIR/testzip.list > /dev/null \
94 grep '^META-INF/MANIFEST\.MF$' $TEST_TMPDIR/testzip.list > /dev/null \
/third_party/unity/test/
H A DMakefile46 ./$(TARGET) | grep 'Tests\|]]]' -A1
49 grep '###' $(BUILD_DIR)/unity.c.gcov -C2 || true
53 ./$(TARGET) | grep 'Tests\|]]]' -A1
56 grep '###' $(BUILD_DIR)/unity.c.gcov -C2 || true
60 ./$(TARGET) | grep 'Tests\|]]]' -A1
63 grep '###' $(BUILD_DIR)/unity.c.gcov -C2 || true
67 ./$(TARGET) | grep 'Tests\|]]]' -A1
70 grep '###' $(BUILD_DIR)/unity.c.gcov -C2 || true
74 ./$(TARGET) | grep 'Tests\|]]]' -A1
77 grep '###'
[all...]
/third_party/mbedtls/tests/scripts/
H A Dall.sh646 "grep "*) true;;
837 clang --version|grep version|sed -E 's#.*version ([0-9]+).*#\1#'
1091 grep 'depends_on' \
1093 grep -Eo '!?MBEDTLS_[^: ]*' |
1094 grep -v -e MBEDTLS_PSA_ -e MBEDTLS_TEST_ |
1279 grep -x -F "$(sed -n 's/^ *# *define *\([A-Z_a-z][0-9A-Z_a-z]*\)..*/\1/p' "$1")"
1305 nm library/libmbedcrypto.a | grep ' [TRrDC] ' | grep -Eo '(mbedtls_|psa_).*' | sort -u > sym_def.txt
1306 nm library/libmbedcrypto.a | grep ' U ' | grep
[all...]
/third_party/ltp/testcases/kernel/mce-test/lib/
H A Dmce.sh46 grep -v '#STATUS 0x0#' | \
47 grep -v '#STATUS 0x800000000000000#' | sort > "$outf"
96 grep -e "$pat"
204 if grep "panic" "$klog" | grep "$mce_panic" > /dev/null; then
220 if grep "Some CPUs didn't answer in synchronization" "$klog" \
239 if grep "Machine check: " "$klog" | grep "$exp" > /dev/null; then
271 if echo ": $panic_msg" | grep -e "$mce_panic" &> /dev/null; then
303 mount|grep /sy
[all...]
/third_party/node/deps/v8/tools/
H A Dbash-completion.sh43 | grep "^DEFINE" \
44 | grep -v "DEFINE_IMPLICATION" \
45 | grep -v "DEFINE_NEG_IMPLICATION" \
46 | grep -v "DEFINE_VALUE_IMPLICATION" \
48 grep "^ V(harmony_" "$flags_file" \
51 grep "^ V(" "$v8_source/src/wasm/wasm-feature-flags.h" \
59 grep "strcmp(argv\[i\]" "$v8_source/src/d8/d8.cc" \
/third_party/fsverity-utils/scripts/
H A Drun-tests.sh49 if ldd fsverity | grep libfsverity.so; then
55 if nm libfsverity.a | grep ' T ' | grep -v " libfsverity_"; then
65 if ! ldd fsverity | grep libfsverity.so; then
70 if nm libfsverity.so | grep ' T ' | grep -v " libfsverity_"; then
98 if git status --short | grep -q '^??'; then
135 grep -E -v '(\.gitignore|LICENSE|.*\.md|testdata|fsverity_uapi\.h|libfsverity\.pc\.in)'
137 git grep -L 'SPDX-License-Identifier: MIT' \
143 git grep
[all...]
/third_party/ltp/testcases/network/iproute/
H A Dip_tests.sh26 lsmod | grep -q dummy || rm_dummy=1
54 [ "$ip4_addr" ] && ip route show | grep -q $ip4_addr && ip route del $ip4_addr
82 ip link show $iface | grep $iface > /dev/null
103 ip addr show dev lo | grep 127.6.6.6 > /dev/null
116 ip addr show dev lo | grep 127.6.6.6 > /dev/null
160 ip neigh show | grep $taddr | grep -v ' FAILED$' > /dev/null
182 ip route show | grep "$ip4_addr via 127.0.0.1 dev lo" > tst_ip.out 2>&1
198 ip route show | grep 127.0.0.1 > /dev/null
224 ip maddr show | grep "6
[all...]
/third_party/ltp/testcases/network/multicast/mc_member/
H A Dmc_member.sh46 DIGIT=`ps -ef | grep mc_member.sh | grep -v grep | wc -l`
73 grep "cannot join group" $ERRFILE
83 grep "cannot join group" $ERRFILE
93 netstat -gn | grep $agroup
104 netstat -gn | grep $agroup
117 count=`grep 105 $ERRFILE | wc -l`
/third_party/alsa-utils/bat/tests/
H A Dalsabat_main.sh43 Card_Number=$(aplay -l | grep "HDMI 0" | cut -b 6)
50 Platform_ID=`cat $file |grep "Codec:" |cut -d " " -f 3`
125 cat $ABAT_TEST_LOG_FILE |grep FAIL
127 total_case_number=`cat $ABAT_TEST_LOG_FILE |grep -c "Test target frequency:"`
128 pass_number=`cat $ABAT_TEST_LOG_FILE |grep -c "Passed"`
129 fail_number=`cat $ABAT_TEST_LOG_FILE |grep -c "Failed"`
/third_party/ltp/testcases/kernel/security/smack/
H A Dsmack_file_access.sh50 old_rule=$(grep "^TheOne" "$smackfsdir/load" 2>/dev/null | grep ' TheOther ')
53 new_rule=$(grep "^TheOne" "$smackfsdir/load" 2>/dev/null | grep ' TheOther ')
78 new_rule=$(grep "^TheOne" $smackfsdir/load 2>/dev/null | grep ' TheOther ')
/third_party/ltp/testcases/commands/nm/
H A Dnm01.sh28 if grep -q "lib.a\[f2.o\]\:" nm.out; then
37 if grep -q "dir/lib.a\[f2.o\]\:" nm.out; then
49 if grep -q "^[^ ]\+ [abdft]" nm.out; then
61 if awk '{print $3}' nm.out | grep -q "[8-9a-f]"; then
73 if grep -q "Name" nm.out; then
104 if grep -q "Undefined symbols from" nm.out; then
116 if grep -q "index" nm.out; then
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
H A Dima_keys.sh9 TST_NEEDS_CMDS="cmp cut grep sed"
31 if echo $line | grep -q 'template=' && ! echo $line | grep -q 'template=ima-buf'; then
41 if ! grep -E "$pattern" $TST_TMPDIR/policy.txt; then
60 keyrings=$(for i in $keycheck_lines; do echo "$i" | grep "keyrings" | \
67 templates=$(for i in $keycheck_lines; do echo "$i" | grep "template" | \
73 grep -E "($templates).*($keyrings)" $ASCII_MEASUREMENTS | while read line
124 grep $keyring_name $ASCII_MEASUREMENTS | tail -n1 | cut -d' ' -f6 | \
/third_party/ltp/
H A Dver_linux79 tune2fs 2>&1 | grep "^tune2fs" | sed 's/,//' | awk \
82 reiserfsck 2>&1 | grep reiserfsprogs | awk \
85 cardmgr -V 2>&1| grep version | awk \
88 pppd --version 2>&1| grep version | awk \
91 isdnctrl 2>&1 | grep version | awk \
106 ifconfig --version 2>&1 | grep tools | awk \
115 ethtool --version | grep version 2>&1 | awk \
/third_party/node/tools/dep_updaters/
H A Dupdate-libuv.sh22 CURRENT_MAJOR_VERSION=$(grep "#define UV_VERSION_MAJOR" "$VERSION_H" | sed -n "s/^.*MAJOR \(.*\)/\1/p")
23 CURRENT_MINOR_VERSION=$(grep "#define UV_VERSION_MINOR" "$VERSION_H" | sed -n "s/^.*MINOR \(.*\)/\1/p")
24 CURRENT_PATCH_VERSION=$(grep "#define UV_VERSION_PATCH" "$VERSION_H" | sed -n "s/^.*PATCH \(.*\)/\1/p")
25 CURRENT_IS_RELEASE=$(grep "#define UV_VERSION_IS_RELEASE" "$VERSION_H" | sed -n "s/^.*RELEASE \(.*\)/\1/p")
26 CURRENT_SUFFIX_VERSION=$(grep "#define UV_VERSION_SUFFIX" "$VERSION_H" | sed -n "s/^.*SUFFIX \"\(.*\)\"/\1/p")
/third_party/ltp/testcases/kernel/controllers/cgroup/
H A Dcgroup_regression_test.sh24 NR_BUG=`dmesg | grep -c "kernel BUG"`
25 NR_NULL=`dmesg | grep -c "kernel NULL pointer dereference"`
26 NR_WARNING=`dmesg | grep -c "^WARNING"`
27 NR_LOCKDEP=`dmesg | grep -c "possible recursive locking detected"`
43 local new_bug=`dmesg | grep -c "kernel BUG"`
44 local new_null=`dmesg | grep -c "kernel NULL pointer dereference"`
45 local new_warning=`dmesg | grep -c "^WARNING"`
46 local new_lockdep=`dmesg | grep -c "possible recursive locking detected"`
162 if ! grep -q -w "cpu" /proc/cgroups; then
212 if dmesg | grep
[all...]
/third_party/ltp/testcases/open_posix_testsuite/
H A DMakefile17 MAKE_ENV= LOGFILE=`if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`/$(LOGFILE)"; fi`.$@
77 @rm -f `if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`/$(LOGFILE)"; fi`.$@
84 @rm -f `if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`/$(LOGFILE)"; fi`.$@
89 @rm -f `if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`/$(LOGFILE)"; fi`.$@
96 @rm -f `if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`/$(LOGFILE)"; fi`.$@
101 @rm -f `if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`/$(LOGFILE)"; fi`.$@
108 @rm -f `if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`/$(LOGFILE)"; fi`.$@
/third_party/jerryscript/tools/
H A Drss-measure.sh31 SUM=`ps -o rss $PID | grep [0-9]`
33 SUM=$(grep -o -e "^[0-9a-f][0-9a-f]*.*" -e "^Rss.*" /proc/$PID/smaps 2>/dev/null | grep -A 1 -- "r[w-]-p " | grep "^Rss"|awk '{s += $2;} END {print s;}')
/third_party/curl/packages/OS400/
H A Dinitscript.sh74 LIBCURL_VERSION=`grep '^#define *LIBCURL_VERSION ' \
77 LIBCURL_VERSION_MAJOR=`grep '^#define *LIBCURL_VERSION_MAJOR ' \
80 LIBCURL_VERSION_MINOR=`grep '^#define *LIBCURL_VERSION_MINOR ' \
83 LIBCURL_VERSION_PATCH=`grep '^#define *LIBCURL_VERSION_PATCH ' \
86 LIBCURL_VERSION_NUM=`grep '^#define *LIBCURL_VERSION_NUM ' \
89 LIBCURL_TIMESTAMP=`grep '^#define *LIBCURL_TIMESTAMP ' \
/third_party/node/tools/
H A Drelease.sh70 gpgfing=$(gpg --keyid-format 0xLONG --fingerprint "$gpgkey" | grep 'Key fingerprint =' | awk -F' = ' '{print $2}' | tr -d ' ')
72 grep -q "$gpgfing" README.md || (\
84 if ! git tag -v "$1" 2>&1 | grep "${gpgkey}" | grep key > /dev/null; then
108 echo "${shapath}" | grep -q '^/.*/SHASUMS256.txt$' || (\
191 files=$(echo "$promotable" | grep "^${version}" | sed 's/^'"${version}"': //')
/third_party/python/Modules/_decimal/tests/
H A Drunall-memorydebugger.sh79 $GMAKE | grep _decimal
91 $GMAKE | grep _decimal
111 $GMAKE | grep _decimal
137 $GMAKE | grep _decimal
148 $GMAKE | grep _decimal
168 $GMAKE | grep _decimal

Completed in 11 milliseconds

12345678910>>...14