From 65f3de70ac979b18233f405d2d7d33ac647f7376 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 16 Jan 2019 18:51:31 +0000 Subject: [PATCH] tests: Don't return an undefined value from main() This caused test failures while backporting meson to an old runtime environment. Signed-off-by: Simon McVittie --- test cases/unit/17 prebuilt shared/patron.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test cases/unit/17 prebuilt shared/patron.c b/test cases/unit/17 prebuilt shared/patron.c index 82d9678aab28..461d7b487b22 100644 --- a/test cases/unit/17 prebuilt shared/patron.c +++ b/test cases/unit/17 prebuilt shared/patron.c @@ -5,4 +5,5 @@ int main(int argc, char **argv) { printf("You are standing outside the Great Library of Alexandria.\n"); printf("You decide to go inside.\n\n"); alexandria_visit(); + return 0; }