Commit b5c1e20b authored by Sebastian Stark's avatar Sebastian Stark

fix test so it will create a mock repository first

parent 987c1df0
......@@ -37,6 +37,7 @@ func TestFakeRsyncOk(t *testing.T) {
}
var config = config
config.repository = "/tmp/snaprd_dest"
mockRepository()
config.ReadCache()
dir, _ := os.Getwd()
config.RsyncPath = filepath.Join(dir, "fake_rsync")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment