From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kKZXCHhnY2fpogAA62LTzQ:P1 (envelope-from ) for ; Thu, 19 Dec 2024 00:23:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kKZXCHhnY2fpogAA62LTzQ (envelope-from ) for ; Thu, 19 Dec 2024 01:23:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uAyhHVzY; dkim=fail ("headers rsa verify failed") header.d=xn--no-cja.eu header.s=ds202402 header.b="OL1/ronU"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734567800; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=F6j2OenFbnCBkoMRfn6itYHoHriW7kr0pzkt9pbZE8A=; b=EVLjnrpGZSfX/BOhCLKO0trYLsW32n51oXb+JWzoF91oA8s6wZiwPJ74d4eqPyO3F9Zk/u D12b9HEyEae2rbugNdAws5uZaoti0U3GCAMQoRPvNPGlz18spuTN42aKuc53mb4HfEpXjl OZAnDiIN9nMst9nkoB6n+FrfgU+VJa0YC2Dv3Ck9tyIO1tIemS2OcXjFZtNahTnAOcozxg 4dadPsp2sssoK2Ri/g9iGVrYIzMygw96ULKoiQz59KVW/dsIpKjnjAeo/fgTroc7FaOTwg XfyfA3jC2SMHpJiv31k4xrEFuLnjFVX60jaaCcRSPv0O+esl39g/hq4+pIMZlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uAyhHVzY; dkim=fail ("headers rsa verify failed") header.d=xn--no-cja.eu header.s=ds202402 header.b="OL1/ronU"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734567800; a=rsa-sha256; cv=none; b=Rz7sKd75jI0v+iB2S5Dl4VVWVdvGJ8OW+VmZLGDQqqjd2yPfUqHyEhofMQP2HkiBOVTsPL Sx44o4IMsK6Nud1VY4B6x8l1ykjhJ1YO32seRxauaGVCO5ZJxfDAVFIGvW79XbHp6O82q0 dN1fBpCDsDuEmVrw8ucUneFhISCgzOF56kCLjylWfviFniOkonvmm6Pq1qPDUs1svjRk25 d2xOcyqY5F5g2NtQLbHSAD8NJVNTLWdmD59MyebtL5bIBRstuYikIReo5qdaYs7QDQC/Ai nTnNKej4qRTKyZIwDVDlZ2/+6dv/czclF5lWnnyMp0nwkVE4qO6sHOBJcCs7JQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 02A837380 for ; Thu, 19 Dec 2024 01:23:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tO4Jk-0001GQ-W8; Wed, 18 Dec 2024 19:23:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tO4Jj-0001Fy-N3 for guix-patches@gnu.org; Wed, 18 Dec 2024 19:23:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tO4Ji-0006In-Vk; Wed, 18 Dec 2024 19:23:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=F6j2OenFbnCBkoMRfn6itYHoHriW7kr0pzkt9pbZE8A=; b=uAyhHVzY2GVAh3SqSHZbQ+OpMNsrE4qPyO85Erip3yOpPCJ+lIjq45+s07xWibAlRhWFakhdKfzR6012mYS6DZgwwAKOHmW1+LwabwLKqQH+mBTJGinqV0MYb0en5Ck+YY+4824hHGLOW4bdEdpOYLZ0wfPYi/fKWnpaxR6PwA74gXOWLCxrcY1SIBpdHi4wSw/8loXdD3WKfJMHZYAK16wk2PZi1x24IgGfpk7UoW4rwSnzJq2lfPVFrrCxFzQ2M1iXFCEZfZ5kqxqrNLyTMS0AiXgeOlF6c9ye0CTfLAu/mrAexAEVWU6ASV9I/UPomNIEFj8FIXC9sUx+SP5PDg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tO4Ji-0002Dr-I8; Wed, 18 Dec 2024 19:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74670] [PATCH v3 0/2] tests: pack: Fix AppImage tests. References: <3f75445c04184678b357e777bfbc5eb751b9f363.1733238317.git.noelopez@free.fr> In-Reply-To: <3f75445c04184678b357e777bfbc5eb751b9f363.1733238317.git.noelopez@free.fr> Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, guix-patches@gnu.org Resent-Date: Thu, 19 Dec 2024 00:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74670 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74670@debbugs.gnu.org Cc: =?UTF-8?Q?No=C3=A9?= Lopez , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 74670-submit@debbugs.gnu.org id=B74670.17345677228406 (code B ref 74670); Thu, 19 Dec 2024 00:23:02 +0000 Received: (at 74670) by debbugs.gnu.org; 19 Dec 2024 00:22:02 +0000 Received: from localhost ([127.0.0.1]:36528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tO4Ij-0002BO-Eq for submit@debbugs.gnu.org; Wed, 18 Dec 2024 19:22:02 -0500 Received: from smtp.domeneshop.no ([194.63.252.55]:59327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tO4Ig-0002B1-VX for 74670@debbugs.gnu.org; Wed, 18 Dec 2024 19:22:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202402; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=F6j2OenFbnCBkoMRfn6itYHoHriW7kr0pzkt9pbZE8A=; b=OL1/ronUtappJYPCtryYN5Eb2V vG8T8sMss04siOrZn/sIOojqG2tIGAbGWsl/b7+LdWfTlgzJ7NH3FJwqpK9PlNpciYso4ex3Bn/Fc L+vG2IlQOFuFq6ShVFo2k/0Q1i3N61v2xHnCIZU/Kf5FsDmq5J49vcqeSP1oWBPL40EwdzTZP9YUw w8nD7E14IiP09b7t0fXHwJKbbcWYAbJM8M45xRWaMUX8bVHR4uf9DxgKBA7nEm8FRGt4EXCVBBC36 3CBLaGK2nTvxamohA3jF0O96UVD17OVZg4CNVREgyc3+TqRV9ZLQf5KXxHwJHesOIbNDRgk4qdo6p yFzwa43g==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1tO4Ib-00CPhh-1f; Thu, 19 Dec 2024 01:21:53 +0100 Date: Thu, 19 Dec 2024 01:23:01 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?UTF-8?Q?No=C3=A9?= Lopez X-ACL-Warn: , =?utf-8?q?No=C3=A9_Lopez_via_Guix-patches?= From: =?utf-8?q?No=C3=A9_Lopez_via_Guix-patches?= via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -2.31 X-Spam-Score: -2.31 X-Migadu-Queue-Id: 02A837380 X-TUID: TiQkuCyYP31q From: Noé Lopez (messed up git in v2) Hi, Thanks you very much for working on the tests, I should have spent more time on them myself. > I noticed that the tests were not going very far, so I tried the patch > below to: (1) check the output of ‘hello’ in the first test, (2) change > the second test to check for the existence of /var/guix/db/db.sqlite. > > The second test doesn’t work though, because where’s that file supposed > to live? The image is apparently extracted in an unguessable directory, > so cannot tell where it is. Am I right? Yes, --appimage-extract-and-run uses a temporary directory but you can use --appimage-extract which always places the contents in ./squashfs-root. The other reason the test did not work is because the localstatedir option wasn’t supported to begin with, this is an oversight that I could have avoided by knowing what I was doing. I’m sending a second version with the localstatedir support and your updated tests. Thanks, Noé Noé Lopez (2): pack: Support localstatedir in AppImage format. tests: pack: Improve AppImage tests. guix/scripts/pack.scm | 13 +++++++++- tests/pack.scm | 60 +++++++++++++++++++++++++++++++++---------- 2 files changed, 58 insertions(+), 15 deletions(-) base-commit: 1a62f687e504c67f26693f3bc60a90e503ab4ea9 -- 2.46.0