summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2018-12-18 23:44:23 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2018-12-18 23:46:54 +0100
commit6c6341335b26ac668a3c63c4f1c0c78ec5365138 (patch)
treeffff357517436abf992c707748438745e42f1c53 /nixos/lib
parenta0d4a4c9bcdef59b3ddf5ff9071da6364064c9b2 (diff)
downloadnixpkgs-6c6341335b26ac668a3c63c4f1c0c78ec5365138.tar
nixpkgs-6c6341335b26ac668a3c63c4f1c0c78ec5365138.tar.gz
nixpkgs-6c6341335b26ac668a3c63c4f1c0c78ec5365138.tar.bz2
nixpkgs-6c6341335b26ac668a3c63c4f1c0c78ec5365138.tar.lz
nixpkgs-6c6341335b26ac668a3c63c4f1c0c78ec5365138.tar.xz
nixpkgs-6c6341335b26ac668a3c63c4f1c0c78ec5365138.tar.zst
nixpkgs-6c6341335b26ac668a3c63c4f1c0c78ec5365138.zip
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.
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/testing.nix4
1 files 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.
         ''