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:
parent
313ca6e4fd
commit
e858ee7221
1 changed files with 3 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue