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
testScript =
38
''
39
$server->start;
40
-
$server->waitForUnit("samba-smbd");
41
-
$server->waitForUnit("samba-nmbd");
42
$server->succeed("mkdir -p /public; echo bar > /public/foo");
43
44
$client->start;
45
-
$client->waitForUnit("network.target");
46
$client->succeed("[[ \$(cat /public/foo) = bar ]]");
47
'';
48
})
···
37
testScript =
38
''
39
$server->start;
40
+
$server->waitForUnit("samba.target");
0
41
$server->succeed("mkdir -p /public; echo bar > /public/foo");
42
43
$client->start;
44
+
$client->waitForUnit("remote-fs.target");
45
$client->succeed("[[ \$(cat /public/foo) = bar ]]");
46
'';
47
})