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
1 changed files with 2 additions and 2 deletions

View File

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