summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/networking-hostname.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/networking-hostname.nix b/tests/networking-hostname.nix
index 450c955..3793958 100644
--- a/tests/networking-hostname.nix
+++ b/tests/networking-hostname.nix
@@ -2,10 +2,11 @@
{
networking.hostName = "EVE";
+ networking.computerName = "EVE’s MacBook Pro";
test = ''
echo checking hostname in /activate >&2
- grep "scutil --set ComputerName 'EVE'" ${config.out}/activate
+ grep "scutil --set ComputerName 'EVE’s MacBook Pro'" ${config.out}/activate
grep "scutil --set LocalHostName 'EVE'" ${config.out}/activate
grep "scutil --set HostName 'EVE'" ${config.out}/activate
echo checking defaults write in ${config.out}/activate-user >&2