Document the makeTest length restriction
This commit is contained in:
parent
0d988d6735
commit
8c9a8d6805
@ -78,6 +78,10 @@ rec {
|
|||||||
} @ t:
|
} @ t:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
# A standard store path to the vm monitor is built like this:
|
||||||
|
# /tmp/nix-build-vm-test-run-$name.drv-0/vm-state-machine/monitor
|
||||||
|
# The max filename length of a unix domain socket is 108 bytes.
|
||||||
|
# This means $name can at most be 50 bytes long.
|
||||||
maxTestNameLen = 50;
|
maxTestNameLen = 50;
|
||||||
testNameLen = builtins.stringLength name;
|
testNameLen = builtins.stringLength name;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user