Home
last modified time | relevance | path

Searched full:eof (Results 1 – 25 of 2122) sorted by relevance

12345678910>>...85

/freebsd/contrib/kyua/integration/
H A Dcmd_list_test.sh32 cat >Kyuafile <<EOF heredoc
38 EOF
43 cat >subdir/Kyuafile <<EOF heredoc
47 EOF
50 cat >expout <<EOF heredoc
59 EOF
66 cat >Kyuafile <<EOF heredoc
70 EOF
73 cat >subdir/Kyuafile <<EOF heredoc
77 EOF
[all …]
H A Dcmd_debug_test.sh32 cat >Kyuafile <<EOF heredoc
36 EOF
39 cat >experr <<EOF heredoc
42 EOF
49 cat >Kyuafile <<EOF heredoc
54 EOF
58 cat >experr <<EOF heredoc
61 EOF
69 cat >Kyuafile <<EOF heredoc
74 EOF
[all …]
H A Dcmd_test_test.sh34 cat >Kyuafile <<EOF heredoc
38 EOF
40 cat >expout <<EOF heredoc
48 EOF
59 cat >Kyuafile <<EOF heredoc
63 EOF
65 cat >expout <<EOF heredoc
73 EOF
84 cat >Kyuafile <<EOF heredoc
91 EOF
[all …]
H A Dcmd_config_test.sh42 cat >"${HOME}/.kyua/kyua.conf" <<EOF heredoc
51 EOF
53 cat >expout <<EOF heredoc
61 EOF
70 cat >"${HOME}/.kyua/kyua.conf" <<EOF heredoc
74 EOF
76 cat >expout <<EOF heredoc
78 EOF
88 cat >"${HOME}/.kyua/kyua.conf" <<EOF heredoc
92 EOF
[all …]
/freebsd/bin/sh/tests/parser/
H A Dheredoc9.03 # x=$(cat <<EOF
5 # EOF)
7 # cat <<EOF
9 # EOF
27 check '`${SH} -c "cat <<EOF
28 EOF)
29 EOF
30 "` = "EOF)"'
32 check '`${SH} -c "(cat <<EOF
33 EOF)
[all …]
H A Dheredoc1.011 check '"$(cat <<EOF
13 EOF
16 check '"$(cat <<EOF
18 EOF
22 check '"$(cat <<EOF
24 EOF
27 check '"$(cat <<EOF
30 EOF
34 check '"$(cat <<EOF
36 EOF
[all …]
H A Dheredoc10.03 # x=$(cat <<EOF
5 # EOF)
7 # cat <<EOF
9 # EOF
28 check '"$(cat <<EOF # (
29 EOF )
30 EOF
31 )" = "EOF )"'
33 check '"$({ cat <<EOF # (
34 EOF)
[all …]
H A Dheredoc5.012 cat <<EOF && echo `cat <<EOF
14 EOF
17 EOF
23 cat <<EOF && echo $(cat <<EOF
25 EOF
28 EOF
34 echo `cat <<EOF
36 EOF
37 ` && cat <<EOF
39 EOF
[all …]
H A Dheredoc7.04 eval ': <<EOF'
5 eval ': <<EOF;'
6 eval '`: <<EOF`'
7 eval '`: <<EOF;`'
8 eval '`: <<EOF`;'
9 eval '`: <<EOF;`;'
13 eval ': <<\EOF'
14 eval ': <<\EOF;'
15 eval '`: <<\EOF`'
16 eval '`: <<\EOF;`'
[all …]
/freebsd/contrib/netbsd-tests/usr.bin/sort/
H A Dt_sort.sh42 cat >in <<EOF heredoc
47 EOF
49 cat >expout <<EOF heredoc
54 EOF
166 cat >in <<EOF heredoc
169 EOF
183 cat >in <<EOF heredoc
186 EOF
198 cat >in <<EOF heredoc
203 EOF
[all …]
/freebsd/contrib/kyua/doc/
H A Dmanbuild_test.sh44 cat >input <<EOF heredoc
48 EOF
56 cat >input <<EOF heredoc
60 EOF
62 cat >expout <<EOF heredoc
66 EOF
73 cat >input <<EOF heredoc
77 EOF
79 cat >expout <<EOF heredoc
83 EOF
[all …]
/freebsd/usr.bin/rs/tests/
H A Drs_test.sh38 " rs -c, 2 <<EOF
40 EOF
53 " rs -s% 2 <<EOF
55 EOF
69 " rs -C, 2 <<EOF
71 EOF
84 " rs -S, 2 <<EOF
86 EOF
100 " rs -t 3 <<EOF
102 EOF
[all …]
/freebsd/libexec/nuageinit/tests/
H A Dnuageinit.sh37 cat > media/nuageinit/meta-data << EOF heredoc
40 EOF
72 cat > etc/master.passwd << EOF heredoc
75 EOF
77 cat > etc/group << EOF heredoc
80 EOF
81 cat > media/nuageinit/user-data << 'EOF' heredoc
93 EOF
95 cat > expectedgroup << EOF heredoc
102 EOF
[all …]
/freebsd/usr.bin/lastcomm/
H A Dreadrec.c53 * Return 0 on success, EOF on end of file or error.
63 return (EOF); in fread_record()
67 return (EOF); in fread_record()
89 * Return EOF on error or end-of-file.
97 if ((rv = fread_record(&av1, sizeof(av1), f)) == EOF) in readrec_v1()
98 return (EOF); in readrec_v1()
119 * Return EOF on error or end-of-file.
127 if ((rv = fread_record(&av2, sizeof(av2), f)) == EOF) in readrec_v2()
128 return (EOF); in readrec_v2()
149 * Return EOF on error or end-of-file.
[all …]
/freebsd/contrib/netbsd-tests/bin/sh/
H A Dt_here.sh128 check 'x=`cat <<EOF'$nl'text'${nl}EOF$nl'`; echo $x' 'text' 0
129 check 'x=`cat <<\EOF'$nl'text'${nl}EOF$nl'`; echo $x' 'text' 0
131 check "y=${y};"'x=`cat <<EOF'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
133 check "y=${y};"'x=`cat <<\EOF'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
135 check "y=${y};"'x=`cat <<"EOF"'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
137 check "y=${y};"'x=`cat <<'"'EOF'"$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
141 check "cat <<EOF${nl}te'xt${nl}EOF$nl" "te'xt" 0
142 check "cat <<\EOF${nl}te'xt${nl}EOF$nl" "te'xt" 0
143 check "cat <<'EOF'${nl}te'xt${nl}EOF$nl" "te'xt" 0
144 check "cat <<EOF${nl}te\"xt${nl}EOF$nl" 'te"xt' 0
[all …]
/freebsd/contrib/atf/atf-sh/
H A Dintegration_test.sh38 cat >experr <<EOF heredoc
41 EOF
48 cat >experr <<EOF heredoc
50 EOF
57 create_test_program tp <<EOF heredoc
66 EOF
68 cat >expout <<EOF heredoc
72 EOF
75 cat >expout <<EOF heredoc
79 EOF
[all …]
/freebsd/crypto/openssh/regress/
H A Denvpass.sh9 cat << EOF > $OBJ/ssh_proxy_envpass heredoc
12 EOF
19 sh << 'EOF' heredoc
21 EOF
31 sh << 'EOF' heredoc
33 EOF
42 sh << 'EOF' heredoc
44 EOF
53 otherhost sh << 'EOF' heredoc
55 EOF
[all …]
/freebsd/contrib/openpam/t/
H A Dt_openpam_readword.c61 orw_expect(struct t_file *tf, const char *expected, int lines, int eof, int eol) in orw_expect() argument
88 if (eof && !t_feof(tf)) { in orw_expect()
89 t_printv("expected EOF, but didn't get it\n"); in orw_expect()
92 if (!eof && t_feof(tf)) { in orw_expect()
93 t_printv("didn't expect EOF, but got it anyway\n"); in orw_expect()
106 if (ch != EOF) in orw_expect()
122 ret = orw_expect(tf, NULL, 0 /*lines*/, 1 /*eof*/, 0 /*eol*/);
135 ret = orw_expect(tf, NULL, 0 /*lines*/, 0 /*eof*/, 1 /*eol*/);
148 ret = orw_expect(tf, NULL, 0 /*lines*/, 1 /*eof*/, 0 /*eol*/);
161 ret = orw_expect(tf, NULL, 0 /*lines*/, 0 /*eof*/, 1 /*eol*/);
[all …]
/freebsd/usr.sbin/etcupdate/tests/
H A Dfbsdid_test.sh100 cat >> $i/old <<EOF heredoc
103 EOF
105 cat >> $NEW/old <<EOF heredoc
108 EOF
115 cat >> $OLD/already <<EOF heredoc
118 EOF
120 cat >> $i/already <<EOF heredoc
123 EOF
137 cat >> $OLD/conflict <<EOF heredoc
140 EOF
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.list_bookmarks.ksh45 log_must_program $TESTPOOL - <<-EOF heredoc
52 EOF
57 log_must_program $TESTPOOL - <<-EOF heredoc
65 EOF
72 log_must_program $TESTPOOL - <<-EOF heredoc
90 EOF
93 log_mustnot_program $TESTPOOL - <<-EOF heredoc
96 EOF
97 log_mustnot_program $TESTPOOL - <<-EOF heredoc
100 EOF
[all …]
H A Dtst.list_children.ksh44 log_must_program $TESTPOOL - <<-EOF heredoc
51 EOF
53 log_must_program $TESTPOOL - <<-EOF heredoc
61 EOF
66 log_must_program $TESTPOOL - <<-EOF heredoc
74 EOF
81 log_must_program $TESTPOOL - <<-EOF heredoc
99 EOF
102 log_mustnot_program $TESTPOOL - <<-EOF heredoc
105 EOF
[all …]
H A Dtst.list_holds.ksh46 log_must_program $TESTPOOL - <<-EOF heredoc
53 EOF
58 log_must_program $TESTPOOL - <<-EOF heredoc
66 EOF
73 log_must_program $TESTPOOL - <<-EOF heredoc
91 EOF
94 log_mustnot_program $TESTPOOL - <<-EOF heredoc
97 EOF
98 log_mustnot_program $TESTPOOL - <<-EOF heredoc
101 EOF
[all …]
H A Dtst.list_clones.ksh39 log_must_program $TESTPOOL - <<-EOF heredoc
46 EOF
51 log_must_program $TESTPOOL - <<-EOF heredoc
59 EOF
69 log_must_program $TESTPOOL - <<-EOF heredoc
87 EOF
90 log_mustnot_program $TESTPOOL - <<-EOF heredoc
93 EOF
95 log_mustnot_program $TESTPOOL - <<-EOF heredoc
98 EOF
[all …]
/freebsd/usr.sbin/cron/lib/
H A Dentry.c89 /* return NULL if eof or syntax error occurs;
98 * EOF if for any reason the entry can't be read and parsed. in load_entry()
122 if (ch == EOF) in load_entry()
227 goto eof; in load_entry()
233 if (ch == EOF) { in load_entry()
235 goto eof; in load_entry()
243 if (ch == EOF) { in load_entry()
245 goto eof; in load_entry()
253 if (ch == EOF) { in load_entry()
255 goto eof; in load_entry()
[all …]
/freebsd/usr.bin/localedef/
H A Dmonetary.c185 if ((putl_category(mon.int_curr_symbol, f) == EOF) || in dump_monetary()
186 (putl_category(mon.currency_symbol, f) == EOF) || in dump_monetary()
187 (putl_category(mon.mon_decimal_point, f) == EOF) || in dump_monetary()
188 (putl_category(mon.mon_thousands_sep, f) == EOF) || in dump_monetary()
189 (putl_category(mon.mon_grouping, f) == EOF) || in dump_monetary()
190 (putl_category(mon.positive_sign, f) == EOF) || in dump_monetary()
191 (putl_category(mon.negative_sign, f) == EOF) || in dump_monetary()
192 (putl_category(mon.int_frac_digits, f) == EOF) || in dump_monetary()
193 (putl_category(mon.frac_digits, f) == EOF) || in dump_monetary()
194 (putl_category(mon.p_cs_precedes, f) == EOF) || in dump_monetary()
[all …]

12345678910>>...85