guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 01/01: tests: Adjust accounts test to shell-as-config change.
Date: Sat, 27 Apr 2019 10:30:47 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 0c329bf4b0c00abdc9a7d9c818d36d4d60b3005d
Author: Ludovic Courtès <address@hidden>
Date:   Sat Apr 27 16:28:59 2019 +0200

    tests: Adjust accounts test to shell-as-config change.
    
    This is a followup to 504a0fc636ec591e65b4a229a37e522e425d8a0c.
    
    * tests/accounts.scm ("allocate-passwd with previous state"): Change
    expected 'shell' for "alice" to "/bin/sh".
---
 tests/accounts.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/accounts.scm b/tests/accounts.scm
index 923ba7d..673dd42 100644
--- a/tests/accounts.scm
+++ b/tests/accounts.scm
@@ -225,14 +225,14 @@ nobody:!:0::::::\n"))
   ;; 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 @@ nobody:!:0::::::\n"))
                    (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]