mirror of
https://github.com/restic/restic.git
synced 2026-09-01 10:17:14 +00:00
termstatus: add stdin and inject into backup command
This commit is contained in:
@@ -67,7 +67,7 @@ func TestCollectTargets(t *testing.T) {
|
||||
FilesFromRaw: []string{f3.Name()},
|
||||
}
|
||||
|
||||
targets, err := collectTargets(opts, []string{filepath.Join(dir, "cmdline arg")}, t.Logf)
|
||||
targets, err := collectTargets(opts, []string{filepath.Join(dir, "cmdline arg")}, t.Logf, nil)
|
||||
rtest.OK(t, err)
|
||||
sort.Strings(targets)
|
||||
rtest.Equals(t, expect, targets)
|
||||
|
||||
Reference in New Issue
Block a user