a270c4c737
TestWriteEnvFileDos2Unix had a copy/paste bug, it shouldn't have asserted that mtime doesn't change because the file is actually being modified in this test. This didn't come up earlier because the actual comparison wasn't using Time.Equal as it should have. Instead switch to comparing inode numbers which is the actual thing I wanted to test for in the first place, just accessing them is much more awkard. Now all tests where it is relevant check the inode in addition to the contents. |
||
---|---|---|
.. | ||
env_file_test.go | ||
env_file.go | ||
file_test.go | ||
file.go | ||
networkd.go | ||
ssh_key.go | ||
systemd_test.go | ||
systemd.go | ||
user.go |