2eafb8192e
GitOrigin-RevId: 176e455371a8371586e8a3ff0d56ee9f3ca2324e
14 lines
493 B
Nix
14 lines
493 B
Nix
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}
|
|
''
|