[bug#76488,v2,0/4] Test installation on Debian

Message ID cover.1740400981.git.ludo@gnu.org
Headers
Series Test installation on Debian |

Message

Ludovic Courtès Feb. 24, 2025, 12:45 p.m. UTC
  Hi!

Changes in v2:

  • Export ‘%test-debian-install’ as suggested by Rodion.

  • Pass #:keep-mtime? #t to ‘copy-recursively’ as suggested by Rodion.

  • Use “full” URL to Debian image as suggested by Efraim.

  • Add test to check that the store is read-only.

  • Add test running ‘guix install’ as an unprivileged user.

  • Add test dumping /etc/os-release.

Feedback welcome!

Ludo’.

Ludovic Courtès (4):
  tests: Export ‘marionette-program’.
  vm: ‘common-qemu-options’ splits command-line tokens.
  vm: Export ‘file-system->mount-tag’ and ‘common-qemu-options’.
  tests: Test installation on Debian.

 gnu/local.mk          |   1 +
 gnu/system/vm.scm     |  24 ++-
 gnu/tests.scm         |  14 +-
 gnu/tests/foreign.scm | 379 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 406 insertions(+), 12 deletions(-)
 create mode 100644 gnu/tests/foreign.scm


base-commit: 256e623843a70b001801dcddd7acb4138e6216b4
  

Comments

Rodion Goritskov Feb. 25, 2025, 11:41 p.m. UTC | #1
Hi!

Change set v2 looks good to me - applies, test runs and passes fine (with patch
76485 applied).

Test cases look sufficient too.

Thanks!
  
Ludovic Courtès Feb. 28, 2025, 10:06 a.m. UTC | #2
Hi Rodion,

Rodion Goritskov <rodion@goritskov.com> skribis:

> Change set v2 looks good to me - applies, test runs and passes fine (with patch
> 76485 applied).
>
> Test cases look sufficient too.

Great, thanks for testing!

I’m now waiting for <https://issues.guix.gnu.org/76485> to settle.

In the meantime, I sent a followup to this patch series:
<https://issues.guix.gnu.org/76636>.

Ludo’.
  
Ludovic Courtès March 5, 2025, 7:36 p.m. UTC | #3
Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

> I’m now waiting for <https://issues.guix.gnu.org/76485> to settle.

Pushed as f57a660fc6c97d8324c7f36b84bec5234720fbb5.

Ludo’.