From 6812c7001ccedc142b9d93f72e2c2f2d611e6158 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 5 Feb 2017 12:40:41 +0300 Subject: [PATCH] nfs tests: fix nfs server unit name --- nixos/tests/nfs.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/nfs.nix b/nixos/tests/nfs.nix index 36cd6a39577..6ed1995f262 100644 --- a/nixos/tests/nfs.nix +++ b/nixos/tests/nfs.nix @@ -40,7 +40,7 @@ in testScript = '' - $server->waitForUnit("nfsd"); + $server->waitForUnit("nfs-server"); $server->succeed("systemctl start network-online.target"); $server->waitForUnit("network-online.target"); @@ -54,8 +54,8 @@ in $client2->succeed("echo bla > /data/bar"); $server->succeed("test -e /data/bar"); - # Test whether restarting ‘nfsd’ works correctly. - $server->succeed("systemctl restart nfsd"); + # Test whether restarting ‘nfs-server’ works correctly. + $server->succeed("systemctl restart nfs-server"); $client2->succeed("echo bla >> /data/bar"); # will take 90 seconds due to the NFS grace period # Test whether we can get a lock.