From: "Ludovic Courtès" <ludo@gnu.org>
To: "Noé Lopez" <noe@xn--no-cja.eu>
Cc: 74670@debbugs.gnu.org
Subject: [bug#74670] [PATCH v3 2/2] tests: pack: Improve AppImage tests.
Date: Mon, 23 Dec 2024 19:37:34 +0100 [thread overview]
Message-ID: <87bjx26ya9.fsf@gnu.org> (raw)
In-Reply-To: <7faf45d433e43621cbf3194f306e0177d21679f2.1734566923.git.noelopez@free.fr> ("Noé Lopez"'s message of "Thu, 19 Dec 2024 01:23:03 +0100")
Hi Noé,
Noé Lopez <noe@noé.eu> skribis:
> From: Noé Lopez <noelopez@free.fr>
>
> * tests/pack.scm: Improve AppImage tests.
>
> Change-Id: I7890b902f65a2944ae8fa03db8a964deda3c725c
[...]
> + (system* #$image "--appimage-extract-and-run" "-c"
> + (object->string
> + `(call-with-output-file #$output
> + (lambda (port)
> + (display "Hello from Guile!\n"
> + port)))))
> + (execl #$image #$image "--appimage-extract"
> + (object->string
> + '(exit
> + (pk 'db? (getcwd)
> + (file-exists? "squashfs-root/var/guix/db/db.sqlite")))))))))
The second part here does nothing: you can place any other file name and
it still exits successfully.
Looking at an strace, I think ‘--appimage-extract’ does next to nothing:
essentially it reads /proc/self/exe, create an empty “squashfs-root”
directory, and exits.
Could you check exactly what’s happening?
We’re getting really close!
Thanks,
Ludo’.
prev parent reply other threads:[~2024-12-23 18:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-03 15:13 [bug#74670] [PATCH] tests: pack: Fix AppImage tests Noé Lopez via Guix-patches via
2024-12-12 21:58 ` Ludovic Courtès
2024-12-12 21:59 ` Ludovic Courtès
2024-12-18 23:58 ` [bug#74670] [PATCH v2 0/2] " Noé Lopez via Guix-patches
2024-12-18 23:59 ` [bug#74670] [PATCH v2 1/2] pack: Support localstatedir in AppImage format Noé Lopez via Guix-patches
2024-12-19 0:23 ` [bug#74670] [PATCH v3 0/2] tests: pack: Fix AppImage tests Noé Lopez via Guix-patches via
2024-12-19 0:23 ` [bug#74670] [PATCH v3 1/2] pack: Support localstatedir in AppImage format Noé Lopez via Guix-patches via
2024-12-19 0:23 ` [bug#74670] [PATCH v3 2/2] tests: pack: Improve AppImage tests Noé Lopez via Guix-patches via
2024-12-23 18:37 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bjx26ya9.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=74670@debbugs.gnu.org \
--cc=noe@xn--no-cja.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.