From 8f25eb5083668130a2d4489263a75fa3b9b03068 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sat, 31 Oct 2020 19:36:38 +0100
Subject: [PATCH] Testsuite [Concurrent.Promise]: Fix broken promise.

init_promise() creates a promise and gets its future. The
Concurrent.results() - empty test throws away both. This
caused the gc to generate complaints about broken promises.

Fixes erroneous testsuite output.
---
 lib/modules/testsuite.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/modules/testsuite.in b/lib/modules/testsuite.in
index d65b5670e1..7f25925048 100644
--- a/lib/modules/testsuite.in
+++ b/lib/modules/testsuite.in
@@ -483,7 +483,7 @@ test_do([[ add_constant("p13"); ]])
 exit_promise(1, ({11, 14, 12, 13}))
 
 dnl - Concurrent.results() - empty
-init_promise()
+dnl init_promise()
 test_do([[ add_constant("future", Concurrent.results(({}))); ]])
 init_future()
 exit_promise(1, ({}))
-- 
GitLab