From 48255afa61cd8198dd82c0fcfa0e6a67574fac03 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 2 Jun 2010 21:59:19 +0000 Subject: [PATCH] * This passwd doesn't have a --stdin flag. svn path=/nixos/trunk/; revision=22110 --- tests/login.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/login.nix b/tests/login.nix index 78b54760849a..c4524612295b 100644 --- a/tests/login.nix +++ b/tests/login.nix @@ -7,7 +7,7 @@ testScript = '' $machine->mustSucceed("useradd -m alice"); - $machine->mustSucceed("echo foobar | passwd --stdin alice"); + $machine->mustSucceed("(echo foobar; echo foobar) | passwd alice"); # Log in as alice on a virtual console. $machine->waitForJob("tty1");