1
0
mirror of https://github.com/Luzifer/duplicity-backup.git synced 2024-09-19 16:32:55 +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() {