mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
shell: Create cached profile directory once connected to the daemon.
* gnu/tests/base.scm (guix-daemon-test-cases) <"containerized guix shell"> <"containerized guix shell, unprivileged user">: New tests. Relates-to: guix/guix#126 Change-Id: I782461c80c254467108c6b8d676d269866795746
This commit is contained in:
parent
d55f448b73
commit
99b0b7aa1f
1 changed files with 15 additions and 0 deletions
|
|
@ -1168,6 +1168,21 @@ to supplementary group ~a...~%" other)
|
|||
hello))
|
||||
#$marionette))
|
||||
|
||||
|
||||
;; Check that guix-daemon is up and running and that the build
|
||||
;; environment is properly set up (build users, etc.).
|
||||
(test-equal "containerized guix shell"
|
||||
0
|
||||
(marionette-eval
|
||||
'(system "guix shell --no-cwd --bootstrap -C hello -- hello")
|
||||
#$marionette))
|
||||
|
||||
(test-equal "containerized guix shell, unprivileged user"
|
||||
0
|
||||
(marionette-eval
|
||||
'(system "su - user -c 'guix shell --bootstrap -C hello -- hello'")
|
||||
#$marionette))
|
||||
|
||||
(test-equal "guix build hello"
|
||||
0
|
||||
;; Check that guix-daemon is up and running and that the build
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue