freebsd-src/usr.bin/diff/tests
Dag-Erling Smørgrav d9a9f23d0b diff: Integrate libdiff from OpenBSD GoT.
This adds support for two new diff algorithms, Myers diff and Patience
diff.

These algorithms perform a different form of search compared to the
classic Stone algorithm and support escapes when worst case scenarios
are encountered.

Add the -A flag to allow selection of the algorithm, but default to
using the new Myers diff implementation.

The libdiff implementation currently only supports a subset of input and
output options supported by diff.  When these options are used, but the
algorithm is not selected, automatically fallback to the classic Stone
algorithm until support for these modes can be added.

Based on work originally done by thj@ with contributions from kevans@.

Sponsored by:	Klara, Inc.
Reviewed by:	thj
Differential Revision:	https://reviews.freebsd.org/D44302
2024-03-27 11:03:33 +01:00
..
Bflag_C.out
Bflag_D.out
Bflag_F.out
diff_test.sh diff: Integrate libdiff from OpenBSD GoT. 2024-03-27 11:03:33 +01:00
functionname.in
functionname_c.in
functionname_c.out
functionname_objcclassm.in
functionname_objcclassm.out
functionname_objcm.in
functionname_objcm.out
group-format.out
header.out
header_ns.out
ifdef.out
input1.in
input2.in
input_c1.in
input_c2.in
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
side_by_side_tabbed_a.in
side_by_side_tabbed_b.in
simple.out
simple_b.out
simple_e.out
simple_i.out
simple_n.out
simple_p.out
simple_u.out
simple_w.out
strip_o.out
unified_9999.out
unified_c9999.out
unified_p.out