From 6c6341335b26ac668a3c63c4f1c0c78ec5365138 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 18 Dec 2018 23:44:23 +0100 Subject: [PATCH] nixos/test-driver: fix wording in error message about invalid node names Since 113a6b9325b92d483e6c2f12c35c2887ab175a8d 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. --- nixos/lib/testing.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/lib/testing.nix b/nixos/lib/testing.nix index 96a42c2f305..57b4412d9bb 100644 --- a/nixos/lib/testing.nix +++ b/nixos/lib/testing.nix @@ -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. ''