summaryrefslogtreecommitdiffstats
path: root/tests/vim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vim')
-rw-r--r--tests/vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/vim b/tests/vim
new file mode 100644
index 0000000..a7f60ce
--- /dev/null
+++ b/tests/vim
@@ -0,0 +1,5 @@
+ apk_add $@
+ echo "hello world" > test.txt
+ echo -e "%s/hello/goodbye/\nwrite\nquit" | vim -e -s test.txt
+ grep goodbye test.txt
+ apk_del $@