Home
last modified time | relevance | path

Searched full:diff (Results 1 – 25 of 447) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.clv30 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (stdin only)'
39 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (x=1 only)'
48 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (x=3 only)'
58 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (x=3 only)'
63 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (x=4 /dev/null)'
68 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (x=5 /dev/null)'
78 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (x=6 /dev/null)'
85 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (x=7 /dev/null)'
92 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (_=7A /dev/null)'
102 diff $TEMP1 $TEMP2 || fail 'BAD: T.clv (x=11)'
[all …]
H A DT.gawk33 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk arrayref'
46 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk asgext'
59 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk backgsub'
81 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk backgsub2'
108 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk backgsub3'
135 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk backsub3'
149 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk backsub'
157 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk dynlj'
182 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk fsrs'
190 diff $TEMP1 $TEMP2 || fail 'BAD: T.gawk intest'
[all …]
H A DT.rt23 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt RT is set to "" in BEGIN'
28 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt RT is set to "\n"'
33 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt RT is set to ""'
37 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt RT is set to "\n" (getline)'
41 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt RT is set to "" (getline)'
45 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt RT is set to "\n" (getline var)'
53 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt RT is set to "\n" (getline < file)'
61 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt RT is set to "\n" (getline var < file)'
67 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt empty RS variable (1 newline at end)'
73 diff $TEMP1 $TEMP2 || fail 'BAD: T.rt empty RS variable (2 newlines at end)'
[all …]
H A DT.split36 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.1'
46 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.2'
63 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.3'
74 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.4'
88 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.5'
97 diff $TEMP1 $TEMP2 || fail 'BAD: T.split (record assignment 1)'
109 diff $TEMP1 $TEMP2 || fail 'BAD: T.split (record assignment 2)'
130 diff $TEMP0 $TEMP1 || fail 'BAD: T.split 1'
146 diff $TEMP0 $TEMP1 || fail 'BAD: T.split //'
160 diff $TEMP0 $TEMP2 || fail 'BAD: T.split 2'
[all …]
H A DT.argv36 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (echo1 *)'
49 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (echo2 *)'
66 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (argc *)'
75 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (L=foo <test.temp.1)'
84 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (L=foo test.temp.1)'
93 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (L=foo -)'
105 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (L=foo L=glop)'
117 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (L=11 L=22)'
121 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (ARGV[1] + ARGV[2])'
125 diff $TEMP1 $TEMP2 || fail 'BAD: T.argv (ENVIRON[x1] + ENVIRON[x2])'
[all …]
H A DT.redir21 diff $TEMP1 /etc/passwd || fail 'BAD: T.redir (print >"test.temp.1")'
25 diff $TEMP1 /etc/passwd || fail 'BAD: T.redir (print >>"test.temp.1")'
30 diff $TEMP1 /etc/passwd || fail 'BAD: T.redir (print > and >>"test.temp.1")'
34 diff $TEMP1 /etc/passwd || fail 'BAD: T.redir (print | "cat > test.temp.1")'
43 diff $TEMP1 $TEMP2 || fail 'BAD: T.redir (buffering)'
47 diff $TEMP2 /etc/passwd || fail 'BAD: T.redir (print >"/dev/stderr")'
48 diff $TEMP1 /dev/null || fail 'BAD: T.redir (print >"/dev/stderr")'
52 diff $TEMP1 /etc/passwd || fail 'BAD: T.redir (print >"/dev/stdout")'
53 diff $TEMP2 /dev/null || fail 'BAD: T.redir (print >"/dev/stderr")'
H A DT.func40 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (function return type)'
48 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (array type)'
57 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (argument passing)'
75 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (convert arg to array)'
109 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (factorial)'
135 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (ackermann)'
160 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (fib)'
185 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (eqn)'
190 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (exit in function)'
205 diff $TEMP1 $TEMP2 || fail 'BAD: T.func (multi-dim subscript)'
[all …]
H A DT.latin125 diff latin1 $TEMP1 || fail 'BAD: T.latin1 1'
29 diff $TEMP0 $TEMP1 || fail 'BAD: T.latin1 2'
33 diff $TEMP0 $TEMP1 || fail 'BAD: T.latin1 3'
37 diff $TEMP0 $TEMP1 || fail 'BAD: T.latin1 4'
41 diff $TEMP1 $TEMP2 || fail 'BAD: T.latin1 5'
45 diff $TEMP1 $TEMP2 || fail 'BAD: T.latin1 6'
55 diff $TEMP1 $TEMP2 || fail 'BAD: T.latin1 7'
H A DT.nextfile31 diff $TEMP0 $TEMP1 || fail 'BAD: T.nextfile 1'
42 diff $TEMP0 $TEMP1 || fail 'BAD: T.nextfile 1f'
54 diff $TEMP0 $TEMP1 || fail 'BAD: T.nextfile 1w'
67 diff $TEMP0 $TEMP1 || fail 'BAD: T.nextfile 1d'
82 diff $TEMP0 $TEMP1 || fail 'BAD: T.nextfile 2'
88 diff $TEMP0 $TEMP1 || fail 'BAD: T.nextfile 3'
101 diff $TEMP0 $TEMP1 || fail 'BAD: T.nextfile 4'
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_diff/
H A Dzfs_diff_cliargs.ksh21 # 'zfs diff' should only work with supported options.
41 log_assert "'zfs diff' should only work with supported options."
58 log_must zfs diff $opt "$TESTSNAP1"
59 log_must zfs diff $opt "$TESTSNAP1" "$DATASET"
60 log_must zfs diff $opt "$TESTSNAP1" "$TESTSNAP2"
66 log_mustnot zfs diff $opt
67 log_mustnot zfs diff $opt "$DATASET"
68 log_mustnot zfs diff $opt "$DATASET@noexists"
69 log_mustnot zfs diff $opt "$DATASET" "$TESTSNAP1"
70 log_mustnot zfs diff $opt "$TESTSNAP2" "$TESTSNAP1"
[all …]
H A Dzfs_diff_timestamp.ksh21 # 'zfs diff -t' should display inode change time correctly.
26 # 3. Verify 'zfs diff -t' correctly display timestamps
58 log_assert "'zfs diff -t' should display inode change time correctly."
65 FILEDIFF="$TESTDIR/zfs-diff.txt"
75 # 3. Verify 'zfs diff -t' correctly display timestamps
77 log_must eval "zfs diff -t $TESTSNAP1 $TESTSNAP2 > $FILEDIFF"
82 # If path from 'zfs diff' is not a file (could be xattr object) skip it
100 log_pass "'zfs diff -t' displays inode change time correctly."
H A Dzfs_diff_encrypted.ksh21 # 'zfs diff' should work with encrypted datasets
26 # 3. Perform 'zfs diff -Ft' and verify no errors occur
38 log_assert "'zfs diff' should work with encrypted datasets"
51 # 3. Perform 'zfs diff' and verify no errors occur
52 log_must zfs diff -Ft $TESTPOOL/$TESTFS1@snap1 $TESTPOOL/$TESTFS1@snap2
61 log_must zfs diff -Ft $TESTPOOL/$TESTFS2@snap1 $TESTPOOL/$TESTFS2@snap2
63 log_pass "'zfs diff' works with encrypted datasets"
H A Dzfs_diff_types.ksh22 # 'zfs diff -F' shows different object types correctly.
26 # 2. Create different objects and verify 'zfs diff -F' shows the correct type
38 # Verify object at $path is of type $symbol using 'zfs diff -F'
55 log_must eval "zfs diff -F $TESTSNAP1 $TESTSNAP2 > $FILEDIFF"
67 log_assert "'zfs diff -F' should show different object types correctly."
73 FILEDIFF="$TESTDIR/zfs-diff.txt"
83 # 2. Create different objects and verify 'zfs diff -F' shows the correct type
126 log_pass "'zfs diff -F' shows different object types correctly."
/illumos-gate/usr/src/cmd/diff/
H A DMakefile26 PROG= diff diffh
28 BINDIFF= diff
38 POFILE= diff.po
39 DCFILE= diff.dc
40 #XGETFLAGS += -a -x diff.xcl
54 $(COMPILE.cpp) $(SRCS) > diff.po.i
55 $(XGETTEXT) $(XGETFLAGS) diff.po.i
57 $(RM) diff.po.i messages.po
61 $(COMPILE.cpp) $(SRCS) > diff.dc.i
62 $(XGETTEXT) -c TRANSLATION_NOTE_FOR_DC -t diff.dc.i
[all …]
/illumos-gate/usr/src/cmd/bdiff/
H A Dbdiff.c46 * and then executes diff upon the pieces. The output of
47 * 'diff' is then processed to make it look as if 'diff' had
49 * is a reasonable upper limit on the size of files that diff can
55 * the files whole, assuming 'diff' could handle such large files.
57 * 'diff' is executed by a child process, generated by forking,
65 static char diff[] = "/usr/bin/diff"; variable
158 * sent to 'diff'. Since the running time of 'diff' is in main()
163 * program will generate the appropriate 'diff' output in main()
165 * avoid executing 'diff' completely. in main()
178 * 'diff'-like output, which is of the form: in main()
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dlut.c78 int diff; in lut_add() local
83 diff = (*cmp_func)(tmp->lut_lhs, lhs); in lut_add()
85 diff = (const char *)lhs - (const char *)tmp->lut_lhs; in lut_add()
87 if (diff == 0) { in lut_add()
91 } else if (diff > 0) { in lut_add()
116 int diff; in lut_lookup() local
122 diff = (*cmp_func)(root->lut_lhs, lhs); in lut_lookup()
124 diff = (const char *)lhs - (const char *)root->lut_lhs; in lut_lookup()
126 if (diff == 0) in lut_lookup()
128 else if (diff > 0) in lut_lookup()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetvfsent.c55 #define DIFF(xx)\ macro
119 (DIFF(vfs_special) || DIFF(vfs_fsckdev) || in getvfsany()
120 DIFF(vfs_mountp) || in getvfsany()
121 DIFF(vfs_fstype) || in getvfsany()
122 DIFF(vfs_fsckpass) || in getvfsany()
123 DIFF(vfs_automnt) || in getvfsany()
124 DIFF(vfs_mntopts))) in getvfsany()
155 ((bstat == 0 && DIFF(vfs_special)) || in getvfsany()
157 (cstat == 0 && DIFF(vfs_fsckdev)) || in getvfsany()
159 DIFF(vfs_mountp) || in getvfsany()
[all …]
/illumos-gate/usr/src/test/smbclient-tests/tests/smbmount/
H A Dtp_smbmount_005.ksh79 cmd="diff /usr/bin/ls $TMNT/ls_file"
102 cmd="diff /usr/bin/ls $TMNT/ls_file"
105 cti_fail "FAIL: the second diff file /usr/bin/ls is different with the ls_file file"
108 cti_report "PASS: the second diff file /usr/bin/ls is same to the ls_file file"
121 cmd="diff /usr/bin/rm $TMNT/rm_file"
139 cmd="diff /usr/bin/ls $TMNT/ls_file"
142 cti_fail "FAIL:the third diff:file /usr/bin/ls is different with file ls_file"
145 cti_report "PASS:the third diff:file /usr/bin/ls is same to file ls_file"
147 cmd="diff /usr/bin/rm $TMNT/rm_file"
150 cti_fail "FAIL: the fourth diff:file /usr/bin/rm is different with file rm_file"
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c242 uint64_t diff; in m_length() local
244 diff = (uintptr_t)mblk->b_datap->db_lim - in m_length()
246 ASSERT(diff == (uint64_t)((unsigned int)diff)); in m_length()
247 return ((unsigned int)diff); in m_length()
504 uint64_t diff; in mb_put_mem() local
507 diff = MBLKTAIL(m); in mb_put_mem()
508 ASSERT(diff == (uint64_t)((int)diff)); in mb_put_mem()
509 mleft = (int)diff; in mb_put_mem()
525 diff = MBLKTAIL(m); in mb_put_mem()
526 ASSERT(diff == (uint64_t)((int)diff)); in mb_put_mem()
[all …]
/illumos-gate/usr/src/test/smbclient-tests/tests/smbfs/mvtest/
H A Dtp_mvtest_006.ksh35 # 2. mv and diff can get the right message
86 # diff the local and server
87 cti_execute_cmd "diff -r $TDIR/test_dir_org $TMNT/test_dir"
89 cti_fail "FAIL: diff -r $TDIR/test_dir_org test_dir failed"
92 cti_report "PASS: diff -r $TDIR/test_dir_org test_dir succeeded"
104 # diff the server to local
105 cti_execute_cmd "diff -r $TDIR/test_dir_org $TDIR/test_dir_mv"
107 cti_fail "FAIL: diff -r $TDIR/test_dir_org" \
111 cti_report "PASS: diff -r $TDIR/test_dir_org" \
H A Dtp_mvtest_007.ksh35 # 2. mv and diff can get the right message
108 # diff the local and org's
109 cti_execute_cmd "diff -r $TMNT/test_dir_org $TDIR/test_dir"
111 cti_fail "FAIL: diff -r test_dir_org $TDIR/test_dir failed"
114 cti_report "PASS: diff -r test_dir_org $TDIR/test_dir succeeded"
132 # diff the server to local
133 cti_execute_cmd "diff -r $TMNT/test_dir_org $TMNT/test_dir_mv"
135 cti_fail "FAIL: diff -r test_dir_org test_dir_mv failed"
138 cti_report "PASS: diff -r test_dir_org test_dir_mv succeeded"
/illumos-gate/usr/src/uts/sun4/os/
H A Dmemlist.c240 diff_memlists(struct memlist *proto, struct memlist *diff, void (*func)()) in diff_memlists() argument
246 * find diff item which may overlap with proto item in diff_memlists()
249 while (diff != NULL && in diff_memlists()
250 proto->ml_address >= diff->ml_address + diff->ml_size) in diff_memlists()
251 diff = diff->ml_next; in diff_memlists()
252 if (diff == NULL) { in diff_memlists()
257 if (proto->ml_address == diff->ml_address && in diff_memlists()
258 proto->ml_size == diff->ml_size) { in diff_memlists()
260 diff = diff->ml_next; in diff_memlists()
266 d_base = diff->ml_address; in diff_memlists()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_psecflags.sh34 diff -u expected output || exit 1 # Make sure the setting of 'none' worked
53 diff -u expected output || exit 1
64 diff -u expected output || exit 1
75 diff -u expected output || exit 1
92 diff -u expected output || exit 1
108 diff -u expected output || exit 1
126 diff -u expected output || exit 1
144 diff -u expected output || exit 1
175 diff -u expected output || exit 1
187 diff -u expected output || exit 1
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vhypot.c103 int hx0, hx1, hy0, j0, diff; in __vhypot() local
129 diff = hy0 - hx0; in __vhypot()
130 j0 = diff >> 31; in __vhypot()
131 j0 = hy0 - (diff & j0); in __vhypot()
148 j0 = diff >> 31; in __vhypot()
149 if (((diff ^ j0) - j0) < 0x03600000) /* max(|X|,|Y|)/min(|X|,|Y|) < 2**54 */ in __vhypot()
171 diff = hy0 - hx0; in __vhypot()
172 j0 = diff >> 31; in __vhypot()
173 j0 = hy0 - (diff & j0); in __vhypot()
190 j0 = diff >> 31; in __vhypot()
[all …]
/illumos-gate/usr/src/man/man1/
H A Dbdiff.18 bdiff \- big diff
18 \fBbdiff\fR is used in a manner analogous to \fBdiff\fR to find which lines in
21 \fBdiff\fR. If \fIfilename1 (filename2)\fR is \fB\(mi\fR, the standard input is
26 remainder of each file into \fIn\fR-line segments, and invokes \fBdiff\fR on
31 The output of \fBbdiff\fR is exactly that of \fBdiff\fR, with line numbers
46 large for \fBdiff\fR, causing it to fail.
57 \fBdiff\fR, which \fBbdiff\fR calls.

12345678910>>...18