From 9d6d3eb6b3892b849bcbf39950ec2281c02349c5 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Thu, 17 Jul 2003 21:04:05 +0000 Subject: A set of regressions to test diff(1). Currently standard, context and unified diffs are tested by diffing two files and then applying the patch on a copy of the first file using patch(1). Next, the result is compared with the original first file using cmp(1). ok millert@ tedu@ --- regress/usr.bin/diff/t2.2 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 regress/usr.bin/diff/t2.2 (limited to 'regress/usr.bin/diff/t2.2') diff --git a/regress/usr.bin/diff/t2.2 b/regress/usr.bin/diff/t2.2 new file mode 100644 index 00000000000..40a0f253dd2 --- /dev/null +++ b/regress/usr.bin/diff/t2.2 @@ -0,0 +1,25 @@ +Below is an example license to be used for new code in OpenBSD, +modeled after the ISC license. + +It is important to specify the year of the copyright. Additional years +should be separated by a comma, e.g. + Copyright (c) 2003, 2004, 2005 + +If you add extra text to the body of the license, be careful not to +add further restrictions. + +/* + * Copyright (c) CCYY YOUR NAME HERE + * + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ +An extra line -- cgit v1.2.3