From 7c3140bb7aac83b1f33e48d50ef9900ececaa021 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 16 Jan 2019 08:05:30 +0000 Subject: [PATCH] testcommon: An i386 Flatpak doesn't support x86_64 apps The compatible architectures are not symmetric: x86_64 and aarch64 can run i386 and arm binaries, but i386 and arm cannot usually run x86_64 and aarch64 binaries. This caused test failures on Debian i386 autobuilders. Signed-off-by: Simon McVittie Closes: #2603 Approved by: matthiasclasen --- tests/testcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testcommon.c b/tests/testcommon.c index bf3e6b26..e7a4ae5c 100644 --- a/tests/testcommon.c +++ b/tests/testcommon.c @@ -48,7 +48,7 @@ test_arches (void) #if defined(__i386__) g_assert_cmpstr (flatpak_get_arch (), ==, "i386"); - g_assert_true (g_strv_contains (arches, "x86_64")); + g_assert_false (g_strv_contains (arches, "x86_64")); g_assert_true (g_strv_contains (arches, "i386")); #elif defined(__x86_64__) g_assert_cmpstr (flatpak_get_arch (), ==, "x86_64");