From: Ian Kelling <iank@fsf.org>
Date: Tue, 1 Jun 2021 03:03:46 +0000 (-0400)
Subject: add basic manual test
X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=380c58f9dea11ac15a68e1cad81294b242ed0ae7;p=cedit

add basic manual test
---

diff --git a/test/test b/test/test
new file mode 100755
index 0000000..76eaea4
--- /dev/null
+++ b/test/test
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+cd $(mktemp -d)
+
+cat >f <<'EOF'
+this
+little
+EOF
+
+
+cedit -v f <<'EOF'
+piggy
+went
+to
+market
+EOF
+
+
+cedit -v sec2 f <<'EOF'
+another little piggy
+stayed home
+EOF
+
+cat >>f <<'EOF'
+wee wee wee
+EOF
+
+cedit -v f <<'EOF'
+piggy
+went
+to
+market
+EOF
+
+
+cedit -v sec2 f <<'EOF'
+another little piggy
+stayed home
+EOF