tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
samba test: fix race condition
Nikolay Amiantov
9 years ago
a6c6d084
fe33c28e
+2
-3
1 changed file
expand all
collapse all
unified
split
nixos
tests
samba.nix
+2
-3
nixos/tests/samba.nix
···
37
37
testScript =
38
38
''
39
39
$server->start;
40
40
-
$server->waitForUnit("samba-smbd");
41
41
-
$server->waitForUnit("samba-nmbd");
40
40
+
$server->waitForUnit("samba.target");
42
41
$server->succeed("mkdir -p /public; echo bar > /public/foo");
43
42
44
43
$client->start;
45
45
-
$client->waitForUnit("network.target");
44
44
+
$client->waitForUnit("remote-fs.target");
46
45
$client->succeed("[[ \$(cat /public/foo) = bar ]]");
47
46
'';
48
47
})