1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/services/gromit-mpx/nmt-script.nix

15 lines
493 B
Nix
Raw Normal View History

2019-02-24 20:33:56 +01:00
golden_file:
''
serviceFile=home-files/.config/systemd/user/gromit-mpx.service
assertFileExists $serviceFile
assertFileRegex $serviceFile 'X-Restart-Triggers=.*gromitmpx\.cfg'
assertFileRegex $serviceFile 'X-Restart-Triggers=.*gromitmpx\.ini'
assertFileRegex $serviceFile 'ExecStart=.*/bin/gromit-mpx'
assertFileExists home-files/.config/gromit-mpx.ini
assertFileExists home-files/.config/gromit-mpx.cfg
assertFileContent home-files/.config/gromit-mpx.cfg ${golden_file}
''