diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-10-30 17:46:17 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-10-30 18:15:54 -0400 |
commit | 97bc3cbea5fc281a299c03eaaa3be5baf21ea673 (patch) | |
tree | 3074bdada04bb70c776048ebaa4e31a0103fa512 /gnu/packages/musl.scm | |
parent | d29d04c9e64c2421ed84022e0c140ead40e5fb58 (diff) | |
download | guix-97bc3cbea5fc281a299c03eaaa3be5baf21ea673.tar.gz |
services: ntp: Ensure no double quotes are output to config file.
* gnu/services/networking.scm (ntp-server->string): Use the textual representation of the values as printed by 'display' rather than 'write', to avoid inserting double quotes in the generated config. * tests/networking.scm (%ntp-server-sample): Add a comment and make one of the options a string, to exercise the fix. ("ntp-server->string"): Move the expected value to the first argument. ("ntp configuration servers deprecated form"): Likewise. ("openntpd generated config string ends with a newline"): Likewise.
Diffstat (limited to 'gnu/packages/musl.scm')
0 files changed, 0 insertions, 0 deletions