summaryrefslogtreecommitdiff
path: root/regress/usr.bin/diff/t2.1
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-07-17 21:04:05 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-07-17 21:04:05 +0000
commit9d6d3eb6b3892b849bcbf39950ec2281c02349c5 (patch)
treeb9aa73d9836d3db8ea46f142bb0296b853560875 /regress/usr.bin/diff/t2.1
parent449320db9c0abe4d21844929ad1c21605c66753d (diff)
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@
Diffstat (limited to 'regress/usr.bin/diff/t2.1')
-rw-r--r--regress/usr.bin/diff/t2.125
1 files changed, 25 insertions, 0 deletions
diff --git a/regress/usr.bin/diff/t2.1 b/regress/usr.bin/diff/t2.1
new file mode 100644
index 00000000000..e01fce04d5e
--- /dev/null
+++ b/regress/usr.bin/diff/t2.1
@@ -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
+
+If you add extra text to the body of the license, be careful not to
+add further restrictions.
+
+/*
+ * Copyright (c) CCYY YOUR NAME HERE <user@your.dom.ain>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * 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.
+ */