diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-02-05 12:40:41 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-02-05 12:41:21 +0300 |
commit | 6812c7001ccedc142b9d93f72e2c2f2d611e6158 (patch) | |
tree | 53e0bee4b1f358de56e99e5eccdd9f562ff4ce3b /nixos/tests | |
parent | 39339bd41c248522ec9e914c96d2ee291bdf5d57 (diff) |
nfs tests: fix nfs server unit name
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/nfs.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/nfs.nix b/nixos/tests/nfs.nix index 36cd6a395779..6ed1995f262a 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. |