Skip to content
Snippets Groups Projects
Unverified Commit 0c329bf4 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

tests: Adjust accounts test to shell-as-config change.

This is a followup to 504a0fc6.

* tests/accounts.scm ("allocate-passwd with previous state"): Change
expected 'shell' for "alice" to "/bin/sh".
parent b8e2bd4f
No related branches found
No related tags found
No related merge requests found
......@@ -225,14 +225,14 @@ (define allocate-passwd (@@ (gnu build accounts) allocate-passwd))
;; Make sure bits of state are preserved: UID, no reuse of previously-used
;; UIDs, and shell.
(list (password-entry (name "alice") (uid 1234) (gid 1000)
(real-name "Alice Smith") (shell "/gnu/.../bin/gash")
(real-name "Alice Smith") (shell "/bin/sh")
(directory "/home/alice"))
(password-entry (name "charlie") (uid 1236) (gid 1000)
(real-name "Charlie") (shell "/bin/sh")
(directory "/home/charlie")))
(allocate-passwd (list (user-account (name "alice")
(comment "Alice")
(shell "/bin/sh") ;ignored
(shell "/bin/sh") ;honored
(group "users"))
(user-account (name "charlie")
(comment "Charlie")
......@@ -241,7 +241,7 @@ (define allocate-passwd (@@ (gnu build accounts) allocate-passwd))
(list (group-entry (name "users") (gid 1000)))
(list (password-entry (name "alice") (uid 1234) (gid 9999)
(real-name "Alice Smith")
(shell "/gnu/.../bin/gash")
(shell "/gnu/.../bin/gash") ;ignored
(directory "/home/alice"))
(password-entry (name "bob") (uid 1235) (gid 1001)
(real-name "Bob") (shell "/bin/sh")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment