summaryrefslogtreecommitdiff
path: root/vis/test.sh
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-04-06 22:03:45 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-04-06 22:03:45 +0200
commite0e6400c61a4d74e68a2d2ef0039d077b8955853 (patch)
treefa180a70690cfe238a5fe236c292ef3ff309d217 /vis/test.sh
parent2f76adc3cb674aeef60e2b0bc56b67b1ad9330cb (diff)
test: terminate tests via command line argument not lua code
Executing a vis:command("qall!") or similar from a Lua WIN_OPEN event handler is a bad idea.
Diffstat (limited to 'vis/test.sh')
-rwxr-xr-xvis/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis/test.sh b/vis/test.sh
index 91e3914..26702d3 100755
--- a/vis/test.sh
+++ b/vis/test.sh
@@ -25,7 +25,7 @@ for t in $test_files; do
TESTS_RUN=$((TESTS_RUN + 1))
t=${t%.in}
t=${t#./}
- $VIS "$t".in < /dev/null 2> /dev/null
+ $VIS '+qall!' "$t".in < /dev/null 2> /dev/null
RETURN_CODE=$?
printf "%-50s" "$t"