add basic manual test
authorIan Kelling <iank@fsf.org>
Tue, 1 Jun 2021 03:03:46 +0000 (23:03 -0400)
committerIan Kelling <iank@fsf.org>
Tue, 1 Jun 2021 03:03:46 +0000 (23:03 -0400)
test/test [new file with mode: 0755]

diff --git a/test/test b/test/test
new file mode 100755 (executable)
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