vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 92db452afd1a8593f12d5ce2201efb48cdc83923 parent 8de1a738d80580378e42a80752c42a48c91f7419 Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 13 Nov 2016 22:36:12 +0100 test/lua: print :help output and distinguish between fail/error Diffstat:
| M | lua/test.sh | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lua/test.sh b/lua/test.sh @@ -10,6 +10,7 @@ export VIS_PATH=. export VIS_THEME=theme if [ $# -gt 0 ]; then + printf ":help\n:w help\n:qall\n" $VIS && cat help test_files=$* else test_files="$(find . -type f -name "*.in") basic_empty_file.in" @@ -31,7 +32,7 @@ for t in $test_files; do diff -u "$t".ref "$t".out > "$t".err fi else - printf "FAIL\n" + printf "ERROR\n" fi done