Fix the unittest for locking.
Reviewed-by: imsnah
Make sure aliases written to /etc/hosts are unique.
Reviewed-by: iustinp
Add function to return list with unique elements.
Reviewed-by: ultrotter
Fix typo in function name.
Reviewed-by: schreiberal
Use setUp/tearDown for tests using temporary files.
Wrap line longer than 80 characters.
Compare file contents directly in unittests.
Reviewed-by: schreiberal, ultrotter
Fix unittests broken by revision 360.
Fix functions for /etc/hosts.
- Combine hostname and aliases on one line- Fix bug with wrongfully removed newline characters- Use wrapper for SetEtcHostsEntry in cmdlib
Reviewed-by: iustin
Rollback commit 356.
View revisions
Also available in: Atom