From e0e6400c61a4d74e68a2d2ef0039d077b8955853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 6 Apr 2017 22:03:45 +0200 Subject: 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. --- vis/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis/test.sh') 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" -- cgit v1.2.3