1
0
Fork 0
mirror of https://github.com/Luzifer/duplicity-backup.git synced 2024-11-08 15:10: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 (
"bytes"
"regexp"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
@ -29,6 +30,7 @@ logdir: /var/log/duplicity/
var (
commandLine, env, argv []string
logFilter *regexp.Regexp
loadErr, err error
t string
cf *configFile
@ -40,7 +42,7 @@ logdir: /var/log/duplicity/
if loadErr != nil {
panic(loadErr)
}
commandLine, env, err = cf.GenerateCommand(argv, t)
commandLine, env, logFilter, err = cf.GenerateCommand(argv, t)
})
Context("Backup with given config", func() {