From abf95337a130e7e2758a6df2c47a2106379bc18f Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Thu, 7 Oct 2021 23:31:40 +0100 Subject: [PATCH] Added test for infinite recursion of includes. --- etc/asma-test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/asma-test.sh b/etc/asma-test.sh index 4535b11..ff11356 100755 --- a/etc/asma-test.sh +++ b/etc/asma-test.sh @@ -67,6 +67,8 @@ expect_failure 'Recursion level too deep:' <<'EOD' %you { me } |1000 me EOD - +expect_failure 'Recursion level too deep: include' <<'EOD' +include asma-test/in.tal +EOD echo 'All OK'