1
0
Fork 0
mirror of https://github.com/Luzifer/duplicity-backup.git synced 2024-11-09 15:40:06 +00:00

Fix test after API change

This commit is contained in:
Knut Ahlers 2016-06-26 10:52:30 +02:00
parent 313ca6e4fd
commit e858ee7221
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -2,6 +2,7 @@ package main
import ( import (
"bytes" "bytes"
"regexp"
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
@ -29,6 +30,7 @@ logdir: /var/log/duplicity/
var ( var (
commandLine, env, argv []string commandLine, env, argv []string
logFilter *regexp.Regexp
loadErr, err error loadErr, err error
t string t string
cf *configFile cf *configFile
@ -40,7 +42,7 @@ logdir: /var/log/duplicity/
if loadErr != nil { if loadErr != nil {
panic(loadErr) panic(loadErr)
} }
commandLine, env, err = cf.GenerateCommand(argv, t) commandLine, env, logFilter, err = cf.GenerateCommand(argv, t)
}) })
Context("Backup with given config", func() { Context("Backup with given config", func() {