Home
last modified time | relevance | path

Searched refs:grep (Results 1 – 25 of 766) sorted by relevance

12345678910>>...31

/third_party/ltp/testcases/kernel/syscalls/syslog/
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 -c "syslogtst: alert log" /var/log/messages`
[all …]
/third_party/mbedtls/tests/
Dcontext-info.sh152 if ! ( grep -F 'All heap blocks were freed -- no leaks are possible' "$OUT_FILE" &&
153 grep -F 'ERROR SUMMARY: 0 errors from 0 contexts' "$OUT_FILE" ) > /dev/null
168 …if grep -v '^==' "$OUT_FILE" | grep -v 'Serious error when reading debug info' | grep -v "^*" | gr…
175 …if grep -v '^==' "$OUT_FILE" | grep -v 'Serious error when reading debug info' | grep -v "^*" | gr…
182 …if [ $(grep -v '^==' "$OUT_FILE"| grep -v 'Serious error when reading debug info' | grep -v "^*" |…
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtestall.sh36 newns tomoyo_accept_test | grep -vF Done
37 newns tomoyo_filesystem_test | grep -vF OK | grep -F '('
38 newns tomoyo_file_test | grep -vF OK | grep -F '('
39 newns tomoyo_rewrite_test | grep -vF OK | grep -F '('
40 newns tomoyo_new_test | grep -vF OK
45 newns tomoyo_policy_io_test | grep -vF OK
46 newns tomoyo_new_file_test | grep -vF OK
/third_party/node/test/parallel/
Dtest-child-process-double-pipe.js36 let grep, sed, echo; variable
39 grep = spawn('grep', ['--binary', 'o']);
45 grep = spawn('grep', ['o']);
62 if (!grep.stdin.write(data)) {
69 grep.stdin.on('drain', (data) => {
75 grep.stdin.end();
82 grep.on('exit', mustCall(() => {
92 grep.stdout.on('data', mustCallAtLeast((data) => {
95 grep.stdout.pause();
102 grep.stdout.resume();
[all …]
/third_party/libwebsockets/scripts/
Dmozilla-trust-gen.sh69 ISS=`cat _trust/c1 | grep Issuer: | sed "s/.*://g" | sed "s/^\ *//g"`
70 SER=`cat _trust/c1 | grep "Serial Number:" | sed "s/.*://g" | sed "s/^\ *//g" | sed "s/\ .*//g"`
75 grep ':' | grep -v ': ' | grep -v ':$' | grep -v U | grep -v k | grep -v T | grep -v "i" | \
76 grep -v "S" | grep -v "V" | sed "s/^\ *//g"`
79 na=`cat _trust/c1 | grep "Not\ After\ :" | sed "s/.*\ :\ //g"`
95 cat _trust/single | grep -v -- '---' | base64 -d > _trust/webroot/der/$safe
103 DERSIZ=`cat _trust/single | grep -v -- '---' | base64 -d | wc -c | cut -d' ' -f1`
105 cat _trust/single | grep -v -- '---' | base64 -d | hexdump -C | tr -s ' ' | sed 's/\ $//g' | \
106 …cut -d' ' -f 2-17 | cut -d'|' -f1 | grep -v 000 | sed "s/\ //g" | sed ':a;N;$!ba;s/\n//g' | xxd -r…
181 cut -d' ' -f 2-17 | cut -d'|' -f1 | grep -v 000 | sed "s/\ /,\ 0x/g" | sed "s/^/0x/g" | \
/third_party/elfutils/tests/
Drun-debuginfod-find.sh25 bsdtar --version | grep -q zstd && zstd=true || zstd=false
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_cou…
193 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_coun…
202 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_cou…
204 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_coun…
285 -a prog2 | grep 'Build ID' | cut -d ' ' -f 7`
[all …]
Drun-debuginfod-federation-metrics.sh62 -a prog | grep 'Build ID' | cut -d ' ' -f 7`
122 grep UA:TESTCURL vlog$PORT1
123 grep XFF:TESTXFF vlog$PORT1
127 -a L/foo | grep 'Build ID' | cut -d ' ' -f 7`
156 curl -s http://127.0.0.1:$PORT1/metrics | grep -q 'http_responses_total.*result.*error'
157 curl -s http://127.0.0.1:$PORT2/metrics | grep -q 'http_responses_total.*result.*upstream'
158 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_duration_milliseconds_count'
159 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_duration_milliseconds_sum'
160 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count'
161 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_sum'
[all …]
Drun-debuginfod-response-headers.sh64 rpms=$(find R -name \*rpm | grep -v nothing | wc -l)
80 grep 'Headers:' vlog-find$PORT1.1
81 grep -i 'X-DEBUGINFOD-FILE: prog' vlog-find$PORT1.1
82 grep -i 'X-DEBUGINFOD-SIZE: ' vlog-find$PORT1.1
90 grep 'Headers:' vlog-find$PORT1.2
91 grep -i 'X-DEBUGINFOD-FILE: ' vlog-find$PORT1.2
92 grep -i 'X-DEBUGINFOD-SIZE: ' vlog-find$PORT1.2
93 grep -i 'X-DEBUGINFOD-ARCHIVE: ' vlog-find$PORT1.2
99 x_debuginfod_size=$(grep -i 'X-DEBUGINFOD-SIZE' $file | head -1 | grep -E -o '[0-9]+')
105 -a F/prog | grep 'Build ID' | cut -d ' ' -f 7`
Drun-debuginfod-negative-cache.sh41 ps -q $PID1 -e -L -o '%p %c %a' | grep groom
42 ps -q $PID1 -e -L -o '%p %c %a' | grep scan
43 ps -q $PID1 -e -L -o '%p %c %a' | grep traverse
61 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_cou…
63 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_coun…
72 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_cou…
74 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_coun…
/third_party/ltp/testcases/network/rpc/basic_tests/rpcinfo/
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 -q portmapper
/third_party/ffmpeg/tests/fate/
Dsource-check.sh8 git grep -L -E "This file is part of FFmpeg|This file is part of libswresample|"\
17 "This file is placed in the public domain" | grep -E '\.c$|\.h$|\.S$|\.asm$'
20 for f in `git ls-files | grep '\.h$'` ; do
30 git grep -L "^#define $macro$" $f
34 git grep -E 'av_clip *\(.*, *0 *, *(3|7|15|31|63|127|255|511|1023|2047|4095|8191|'\
36 '33554431|67108863|134217727|268435455|536870911|1073741823) *\)' | grep -v fate/source
39 git grep -E 'av_clip *\(.*, *(-2 *, *1|-4 *, *3|-8 *, *7|-16 *, *15|-32 *, *31|-64'\
45 '268435455|-536870912 *, *536870911|-1073741824 *, *1073741823) *\)'| grep -v fate/source
/third_party/ffmpeg/tools/
Dmurge3 grep -A99999 '^<<<<<<<' | grep -B99999 '^>>>>>>>' >murge.X
4 grep -A99999 '^====' murge.X | egrep -v '^(=======|<<<<<<<|>>>>>>>|\|\|\|\|\|\|\|)' >murge.theirs
5 grep -B99999 '^||||' murge.X | egrep -v '^(=======|<<<<<<<|>>>>>>>|\|\|\|\|\|\|\|)' >murge.ours
6 grep -B99999 '^====' murge.X | grep -A99999 '^||||' | egrep -v '^(=======|<<<<<<<|>>>>>>>|\|\|\|\|\…
9 grep . murge.common > /dev/null && colordiff -du $* murge.common murge.theirs
10 grep . murge.common > /dev/null && colordiff -du $* murge.common murge.ours
/third_party/ltp/testcases/kernel/controllers/
Dtest_controllers.sh42 CPU_CONTROLLER=`grep -w cpu /proc/cgroups | cut -f1`;
43 CPU_CONTROLLER_VALUE=`grep -w cpu /proc/cgroups | cut -f4`;
44 MEM_CONTROLLER=`grep -w memory /proc/cgroups | cut -f1`;
45 MEM_CONTROLLER_VALUE=`grep -w memory /proc/cgroups | cut -f4`;
46 IOTHROTTLE_CONTROLLER=`grep -w blockio /proc/cgroups | cut -f1`;
47 IOTHROTTLE_CONTROLLER_VALUE=`grep -w blockio /proc/cgroups | cut -f4`;
48 FREEZER=`grep -w freezer /proc/cgroups | cut -f1`;
49 FREEZER_VALUE=`grep -w freezer /proc/cgroups | cut -f4`;
50 CPUACCOUNT_CONTROLLER=`grep -w cpuacct /proc/cgroups | cut -f1`
51 CPUACCOUNT_CONTROLLER_VALUE=`grep -w cpuacct /proc/cgroups | cut -f4`
/third_party/ltp/testcases/kernel/mce-test/lib/
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 /sys/kernel/debug > /dev/null 2>&1
305 mount|grep /sys/kernel/debug > /dev/null 2>&1
312 DEBUGFS=`mount | grep debugfs | cut -d ' ' -f3 | head -1`
/third_party/unity/test/
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 '###' $(BUILD_DIR)/unity.c.gcov -C2 || true
[all …]
/third_party/protobuf/src/google/protobuf/compiler/
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/ltp/testcases/network/multicast/mc_member/
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/ltp/testcases/kernel/security/smack/
Dsmack_set_cipso.sh28 old_rule=$(grep "^TheOne" "$smackfsdir/cipso" 2>/dev/null)
31 new_rule=$(grep "^TheOne" "$smackfsdir/cipso" 2>/dev/null)
35 right=$(echo "$new_rule" | grep ' 2')
41 new_rule=$(grep "^TheOne" "$smackfsdir/cipso" 2>/dev/null)
45 right=$(echo $new_rule | grep '/55')
51 new_rule=$(grep "^TheOne" "$smackfsdir/cipso" 2>/dev/null)
55 right=$(echo "$new_rule" | grep '/17,33')
Dsmack_set_load.sh27 old_rule=$(grep "^TheOne" "$smackfsdir/load" 2>/dev/null | grep ' TheOther ')
30 new_rule=$(grep "^TheOne" "$smackfsdir/load" 2>/dev/null | grep ' TheOther ')
40 new_rule=$(grep "^TheOne" "$smackfsdir/load" 2>/dev/null | grep ' TheOther ')
/third_party/libfuse/util/
Dinit_script27 if ! grep -qw fuse /proc/filesystems; then
38 if grep -qw fusectl /proc/filesystems && \
39 ! grep -qw $MOUNTPOINT /proc/mounts; then
52 if ! grep -qw fuse /proc/filesystems; then
56 if grep -qw $MOUNTPOINT /proc/mounts; then
66 if grep -qw "^fuse" /proc/modules; then
79 if ! grep -qw fuse /proc/filesystems; then
/third_party/libsnd/Scripts/
Dgit-pre-commit-hook37 files=$(git diff-index --name-status --cached HEAD | grep -v ^D | sed -E "s/^[A-Z]+[A-Z0-9]*[ \t]+/…
43 elif test `echo $f | grep -c "\.[ch]$"` -gt 0 ; then
66 if test `head -5 $f | grep -i copyright | grep -c -i $user` -gt 0 ; then
67 user_copyright=`grep -i copyright $f | grep $user | grep -c $year`
/third_party/ltp/testcases/network/iproute/
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 "66:66:00:00:00:66" > tst_ip.out 2>&1
244 ip maddr show | grep "66:66:00:00:00:66" > /dev/null
/third_party/fsverity-utils/scripts/
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 -L 'Use of this source code is governed by an MIT-style' \
148 git grep -L '\<Copyright\>' | filter_license_info > "$list" || true
/third_party/node/deps/v8/tools/
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/ltp/testcases/kernel/controllers/cgroup/
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 -q "MAX_LOCKDEP_SUBCLASSES too low"; then
[all …]

12345678910>>...31