Commit graph

12 commits

Author SHA1 Message Date
Alexander Neumann
ed9470b19d Remove tempfiles after test 2015-10-31 14:53:03 +01:00
Alexander Neumann
fcb769fa3b Merge pull request #262 from restic/fix-tests
Fix tests
2015-08-18 22:45:50 +02:00
Alexander Neumann
1a47ea4ab8 test helpers: add RemoveAll and ResetReadOnly
This is mainly needed in Windows, where files and dirs cannot be
removed unless they are writeable.
2015-08-18 21:40:40 +02:00
Klaus Post
dfe232cf46 Add Windows node support.
The syscall.Stat_t doesn't exist on Windows, so it is replaced by an interface,
which Windows can fill out, and field access is replaced by function calls.

Common Unix functionality is put into "node_unix.go", so there is less boilerplate.

Symlinks are skipped on Windows, since they require admin privileges.
2015-08-14 15:57:47 +02:00
Alexander Neumann
258b6a77ee Refactor skipping symlink ModTime checks, add OpenBSD 2015-07-20 21:29:21 +02:00
Alexander Neumann
bd3ce5d4a3 Fix tests on freebsd 2015-07-20 21:08:29 +02:00
Florian Weingarten
775529f1ff Fix darwin tests 2015-07-09 10:52:44 -04:00
Florian Weingarten
66fe9035ef More useful error messages 2015-07-08 09:15:06 -04:00
Alexander Neumann
030f08a410 Remove flags from tests 2015-06-21 17:40:21 +02:00
Alexander Neumann
af06376b5b Add tests for node.CreateAt() 2015-05-14 22:04:55 +02:00
Alexander Neumann
ccdbc80d5b Add benchmark for NodeFromFileInfo 2015-05-02 00:26:32 +02:00
Alexander Neumann
d8e1482abe Add benchmark for Node.fillExtra 2015-05-01 23:52:36 +02:00