Home
last modified time | relevance | path

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

12345678910>>...40

/netbsd/src/tests/usr.bin/grep/
Dt_grep.sh48 atf_check -o file:"$(atf_get_srcdir)/d_binary.out" grep foobar test.file
92 grep -r string test
103 grep -w separated $(atf_get_srcdir)/d_input
117 env LC_ALL=C grep "array" "input"
119 env LC_ALL=C grep -w "array" "input"
123 env LC_ALL="C.UTF-8" grep -w "array" "input"
141 env LC_ALL=C grep -w "begin" "input"
145 env LC_ALL=C grep -w "middle" "input"
149 env LC_ALL=C grep -w "end" "input"
153 env LC_ALL=C grep -w "be" "input"
[all …]
/netbsd/src/external/bsd/atf/dist/atf-sh/
Datf_check_test.sh44 grep 'Executing command.*true' stdout >/dev/null || \
49 grep 'Executing command.*false' stdout >/dev/null || \
66 grep 'Executing command.*echo bar' stdout >/dev/null || \
68 grep 'stdout does not match golden output' stderr >/dev/null || \
70 grep 'stderr' stderr >/dev/null && \
72 grep '^-foo' stderr >/dev/null || \
74 grep '^+bar' stderr >/dev/null || \
91 grep 'Executing command.*echo bar' stdout >/dev/null || \
93 grep 'stdout' stderr >/dev/null && \
95 grep 'stderr does not match golden output' stderr >/dev/null || \
[all …]
/netbsd/src/external/lgpl3/gmp/dist/tests/rand/
DMakefile.am48 | ./stat -i 0xffff | grep '^[0-9]')
50 | ./stat -i 0xffffffff | grep '^[0-9]')
52 | ./stat -i 0x1ffffffff | grep '^[0-9]')
54 | ./stat -i 0xffffffffffffffff | grep '^[0-9]')
56 | ./stat -i 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | grep '^[0-9]')
59 | ./stat | grep '^[0-9]')
61 | ./stat | grep '^[0-9]')
63 | ./stat | grep '^[0-9]')
65 | ./stat | grep '^[0-9]')
67 | ./stat | grep '^[0-9]')
[all …]
/netbsd/src/usr.bin/grep/
DMakefile5 PROG= grep
6 SRCS= fastgrep.c file.c grep.c queue.c util.c
8 LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
9 ${BINDIR}/grep ${BINDIR}/fgrep \
10 ${BINDIR}/grep ${BINDIR}/zgrep \
11 ${BINDIR}/grep ${BINDIR}/zegrep \
12 ${BINDIR}/grep ${BINDIR}/zfgrep
14 MLINKS= grep.1 egrep.1 \
15 grep.1 fgrep.1 \
16 grep.1 zgrep.1 \
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/tests/kdc/
Dcheck-canon.in125 ${klist} | grep 'host/t1@$' > /dev/null ||
127 ${klist} | grep "host/t1@${R1}" > /dev/null ||
129 ${klist} | grep 'host/t2@$' > /dev/null ||
131 ${klist} | grep "host/t2@${R2}" > /dev/null ||
133 ${klist} | grep 'host/t3@$' > /dev/null ||
135 ${klist} | grep "host/t3@${R3}" > /dev/null ||
137 ${klist} | grep 'host/t11@$' > /dev/null ||
139 ${klist} | grep "host/t11.test1.h5l.se@${R1}" > /dev/null ||
141 ${klist} | grep 'host/t12@$' > /dev/null ||
143 ${klist} | grep "host/t12.test1.h5l.se@${R2}" > /dev/null ||
[all …]
Dcheck-cc.in113 ${klist} -l | grep foo@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
121 ${klist} | head -2 | grep foo@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
122 ${klist} -l | grep foo@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
123 ${klist} -l | grep bar@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
126 ${klist} | head -2 | grep bar@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
127 ${klist} -l | grep foo@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
128 ${klist} -l | grep bar@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
132 ${klist} -l | grep bar@ >/dev/null && { ec=1 ; eval "${testfailed}"; }
134 ${klist} -l | grep foo@ >/dev/null || { ec=1 ; eval "${testfailed}"; }
139 ${klist} -l | grep foo@ >/dev/null && { ec=1 ; eval "${testfailed}"; }
[all …]
Dcheck-digest.in169 snonce=`grep server-nonce= sdigest-reply | cut -f2- -d=`
170 identifier=`grep identifier= sdigest-reply | cut -f2- -d=`
171 opaque=`grep opaque= sdigest-reply | cut -f2- -d=`
182 cresponseData=`grep responseData= cdigest-reply | cut -f2- -d=`
199 status=`grep status= s2digest-reply | cut -f2- -d=`
220 status=`grep status= s2digest-reply | cut -f2- -d=`
236 snonce=`grep server-nonce= sdigest-reply | cut -f2- -d=`
237 opaque=`grep opaque= sdigest-reply | cut -f2- -d=`
250 cresponseData=`grep responseData= cdigest-reply | cut -f2- -d=`
251 cRsp=`grep AuthenticatorResponse= cdigest-reply | cut -f2- -d=`
[all …]
/netbsd/src/external/lgpl3/gmp/dist/
Dconfig.guess474 x=`grep "^cpu[ ]" /proc/cpuinfo | head -n 1`
614 if grep 'cpu.*Cypress' /proc/cpuinfo >/dev/null; then
616 elif grep 'cpu.*Power-UP' /proc/cpuinfo >/dev/null; then
618 elif grep 'cpu.*HyperSparc' /proc/cpuinfo >/dev/null; then
620 elif grep 'cpu.*SuperSparc' /proc/cpuinfo >/dev/null; then
622 elif grep 'cpu.*MicroSparc' /proc/cpuinfo >/dev/null; then
624 elif grep 'cpu.*MB86904' /proc/cpuinfo >/dev/null; then
627 elif grep 'cpu.*UltraSparc T5' /proc/cpuinfo >/dev/null; then
629 elif grep 'cpu.*UltraSparc T4' /proc/cpuinfo >/dev/null; then
631 elif grep 'cpu.*UltraSparc T3' /proc/cpuinfo >/dev/null; then
[all …]
/netbsd/src/external/bsd/bzip2/dist/
Dbzgrep13 *egrep) grep=${EGREP-egrep} ;;
14 *fgrep) grep=${FGREP-fgrep} ;;
15 *) grep=${GREP-grep} ;;
21 if test "$grep" = grep; then # grep is buggy with -e on SVR4
22 grep=egrep
52 bzip2 -cdfq | $grep $opt "$pat"
60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i
63 bzip2 -cdfq "$i" | $grep $opt "$pat"
79 $grep $opt "$pat" 4>&-; echo "r=$?;" >&4
/netbsd/src/external/gpl2/lvm2/dist/test/
Dt-inconsistent-metadata.sh25 grep resized lvs.out | not grep 8192
32 grep resized lvs.out | grep 8192
38 grep "Inconsistent metadata found for VG $vg" cmd.out
40 not grep "Inconsistent metadata found for VG $vg" cmd.out
46 grep "Inconsistent metadata found for VG $vg" cmd.out
48 not grep "Inconsistent metadata found for VG $vg" cmd.out
54 grep "Inconsistent metadata found for VG $vg" cmd.out
56 not grep "Inconsistent metadata found for VG $vg" cmd.out
62 grep "Inconsistent metadata found for VG $vg" cmd.out
64 not grep "Inconsistent metadata found for VG $vg" cmd.out
Dt-vgsplit-usage.sh38 grep "New volume group \"$vg2\" successfully split from \"$vg1\"" err
46 grep "Existing volume group \"$vg2\" successfully split from \"$vg1\"" err
68 grep "^ Maximum number of physical volumes (2) exceeded" err
76 grep "^ Volume group \"$vg2\" exists, but new VG option specified" err
84 grep "^ Volume group \"$vg2\" exists, but new VG option specified" err
92 grep "^ Volume group \"$vg2\" exists, but new VG option specified" err
100 grep "^ Volume group \"$vg2\" exists, but new VG option specified" err
110 grep "^ Logical volumes in \"$vg1\" must be inactive\$" err
123 grep "^ Maximum number of logical volumes (2) exceeded" err
184 grep "^ Metadata types differ" err
/netbsd/src/external/bsd/kyua-cli/dist/integration/
Dcmd_help_test.sh33 grep '^Usage: kyua' stdout || atf_fail 'No usage line printed'
34 grep -- '--loglevel' stdout || atf_fail 'Generic options not printed'
35 if grep -- '--show' stdout; then
38 grep 'about *Shows general' stdout || atf_fail 'Commands not printed'
45 grep '^Usage: kyua' stdout || atf_fail 'No usage line printed'
46 grep '^Run tests' stdout || atf_fail 'No description printed'
47 grep -- '--loglevel' stdout || atf_fail 'Generic options not printed'
48 grep -- '--kyuafile' stdout || atf_fail 'Command options not printed'
49 if grep 'about: Shows general' stdout; then
59 grep '^Usage: kyua' stdout || atf_fail 'No usage line printed'
[all …]
Dglobal_test.sh79 grep ' E .* No command provided' test.log || atf_fail "Log file does" \
92 grep ' E .* No command provided' test.log || atf_fail "Log file does" \
94 if grep ' D ' test.log; then
109 grep ' E .* No command provided' test.log || atf_fail "Log file does" \
111 if grep ' I ' test.log; then
126 grep ' E .* No command provided' test.log || atf_fail "Log file does" \
128 grep ' D ' test.log || atf_fail "Log file does not contain debug messages"
/netbsd/src/tests/usr.bin/config/
Dt_config.sh170 grep -q '^ a\.c ' $f &&
171 grep -q '^ b\.c ' $f &&
172 grep -q '^ c\.c ' $f &&
191 grep -q '^a\.o:' $f >>tmp
192 grep -q '^b\.o:' $f >>tmp
193 grep -q '^c\.o:' $f >>tmp
215 grep -q '^CFDRIVER_DECL(d, ' $f &&
216 grep -q '&d_cd,' tmp.cfdriver &&
217 grep -q '^extern struct cfattach d_ca;$' $f &&
218 grep -q '^static const struct cfiattrdata \* const d_attrs\[\]' $f &&
[all …]
/netbsd/src/external/gpl3/gcc/dist/contrib/
Dcompare_tests127 grep '^FAIL:' "$now_s" | sed 's/^[^:]*:[ ]//' >$tmp1
128 grep '^PASS' "$before_s" | sed 's/^[^:]*:[ ]//' | comm -12 $tmp1 - >$tmp2
130 grep -s . $tmp2 >/dev/null
140 grep '^PASS' "$now_s" | sed 's/^[^:]*:[ ]//' >$tmp1
141 grep '^FAIL' "$before_s" | sed 's/^[^:]*:[ ]//' | comm -12 $tmp1 - >$tmp2
143 grep -s . $tmp2 >/dev/null
153 grep '^FAIL' "$now_s" | sed 's/^[^:]*:[ ]//' >$tmp1
154 grep '^[PF]A[SI][SL]' "$before_s" | sed 's/^[^:]*:[ ]//' | comm -23 $tmp1 - >$tmp2
156 grep -s . $tmp2 >/dev/null
166 grep '^PASS' "$now_s" | sed 's/^[^:]*:[ ]//' >$tmp1
[all …]
Dcompare-debug96 if (objcopy -v) 2>&1 | grep ' --remove-section' > /dev/null \
97 && (objdump --help) 2>&1 | grep ' --\[*section-\]*headers' > /dev/null; then
115 if ($t --help) 2>&1 | grep ' --\[*section-\]*headers' > /dev/null; then
118 $cmd --section-headers "$1.$suf1" | grep '\.eh_frame' > /dev/null
121 $cmd --section-headers "$2.$suf2" | grep '\.eh_frame' > /dev/null
132 $cmd --section-headers "$1.$suf1" | grep '.gnu.lto_' > /dev/null ||
133 $cmd --section-headers "$2.$suf2" | grep '.gnu.lto_' > /dev/null ; then
154 if (objcopy -v) 2>&1 | grep ' --remove-section' > /dev/null; then
160 elif (strip --help) 2>&1 | grep ' --remove-section' > /dev/null; then
Dcheck_warning_flags.sh61 grep -v 'command line option.*is valid for.*but not for' >$stderr
80 if grep 'not installed on this system' $stderr >/dev/null ||
81 grep 'installation problem, cannot exec' $stderr >/dev/null ||
82 grep 'error trying to exec' $stderr >/dev/null
133 grep "command line option.*$warning.*valid" <$stderr >&2 ||
166 grep "@item.*$flag" $gcc_docdir/../*/*.texi >/dev/null || {
172 grep "@item.*$inverted_flag" $gcc_docdir/../*/*.texi >/dev/null || {
/netbsd/src/external/bsd/kyua-cli/dist/bootstrap/
Dtestsuite.at76 AT_CHECK([grep "${re}" stdout], [0], [ignore], [])
87 AT_CHECK([grep "${re}" stdout], [0], [ignore], [])
98 AT_CHECK([grep "${re}" stdout], [0], [ignore], [])
108 AT_CHECK([grep "atf_helpers:fails" stdout], [1], [], [])
109 AT_CHECK([grep "atf_helpers:passes.*passed" stdout], [0], [ignore], [])
110 AT_CHECK([grep "atf_helpers:skips" stdout], [1], [], [])
120 AT_CHECK([grep "atf_helpers:fails.*failed.*Failed on purpose" stdout],
122 AT_CHECK([grep "atf_helpers:passes" stdout], [1], [], [])
123 AT_CHECK([grep "atf_helpers:skips" stdout], [1], [], [])
133 AT_CHECK([grep "atf_helpers:fails" stdout], [1], [], [])
[all …]
/netbsd/src/external/bsd/openldap/dist/tests/scripts/
Dtest034-translucent173 grep "$FAILURE" $TESTOUT
186 grep "$FAILURE" $TESTOUT
199 grep "$FAILURE" $TESTOUT
227 grep "$FAILURE" $TESTOUT
315 grep "$FAILURE" $TESTOUT
334 grep "$FAILURE" $TESTOUT
348 ATTR=`grep roomNumber $SEARCHOUT` > $NOWHERE 2>&1
380 grep "$FAILURE" $TESTOUT
394 ATTR=`grep roomNumber $SEARCHOUT` > $NOWHERE 2>&1
414 grep "$FAILURE" $TESTOUT
[all …]
/netbsd/src/tests/bin/sh/
Dt_option.sh120 atf_require_prog grep
585 atf_require_prog grep
593 grep >/dev/null 2>&1 'printf.*%s.*OK' X-trace ||
595 grep >/dev/null 2>&1 'echo.*OK' X-trace ||
608 grep >/dev/null 2>&1 'printf.*%s.*OK' X-trace ||
610 grep >/dev/null 2>&1 'exec' X-trace ||
612 grep >/dev/null 2>&1 'echo.*OK' X-trace ||
625 grep >/dev/null 2>&1 'printf.*%s.*OK' X-trace ||
627 grep >/dev/null 2>&1 'set.*-X' X-trace ||
629 grep >/dev/null 2>&1 'echo.*OK' X-trace &&
[all …]
/netbsd/src/distrib/sun2/ramdisk/
DShowsyms9 grep -i ' u ' $tf
10 grep -i ' a ' $tf
11 grep -i ' t ' $tf
12 grep -i ' d ' $tf
13 grep -i ' b ' $tf
16 nm -p rd_bin.syms | grep -i ' c '
/netbsd/src/distrib/sun3/ramdisk/
DShowsyms9 grep -i ' u ' $tf
10 grep -i ' a ' $tf
11 grep -i ' t ' $tf
12 grep -i ' d ' $tf
13 grep -i ' b ' $tf
16 nm -p rd_bin.syms | grep -i ' c '
/netbsd/src/tests/modules/
Dt_modload.sh77 grep 'Invalid parameter.*foo' stderr
82 grep 'Invalid boolean value' stderr
87 grep 'Invalid boolean value.*bar' stderr
92 grep 'Invalid boolean value.*falsea' stderr
97 grep 'Invalid boolean value.*truea' stderr
127 grep 'Invalid parameter.*foo' stderr
132 grep 'Invalid integer value' stderr
137 grep 'Invalid integer value.*bar' stderr
142 grep 'Invalid integer value.*123a' stderr
181 grep 'Invalid parameter.*foo' stderr
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/scripts/
Dcreate_testsuite_files47 grep _xin $tmp.1 > $tests_file_inter
48 grep -v _xin $tmp.1 > $tmp.4
50 grep performance $tmp.4 > $tests_file_perf
51 grep -v performance $tmp.4 > $tmp.5
53 grep simd/tests/ $tmp.5 > $tests_file_simd
54 grep -v simd/tests/ $tmp.5 > $tmp.6
/netbsd/src/usr.bin/make/unit-tests/
Dexport-variants.mk10 SHVAR!= env | grep ^UT_ || true
15 .if ${:!env | grep ^UT_ || true!} != ""
19 .if ${env | grep ^UT_ || true:L:sh} != ""
26 SHVAR!= env | grep ^UT_ || true
31 .if ${:!env | grep ^UT_ || true!} != "UT_VAR=value"
35 .if ${env | grep ^UT_ || true:L:sh} != "UT_VAR=value"

12345678910>>...40