nixos/test-driver: fix wording in error message about invalid node names

Since 113a6b9325 the test driver
explicitly ensures if the node names won't break the resulting Perl
script at runtime. This slightly improves the correctness of the error
message.
This commit is contained in:
Maximilian Bosch 2018-12-18 23:44:23 +01:00
parent a0d4a4c9bc
commit 6c6341335b
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -164,8 +164,8 @@ in rec {
if lib.length invalidNodeNames > 0 then
throw ''
Cannot create machines out of (${lib.concatStringsSep ", " invalidNodeNames})!
All machines are references as perl variables in the testing framework which will break the
script when special characters are allowed.
All machines are referenced as perl variables in the testing framework which will break the
script when special characters are used.
Please stick to alphanumeric chars and underscores as separation.
''