Commit 31481bea authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e61e6494
...@@ -111,15 +111,14 @@ func withDemoData(t *testing.T, f func(t *testing.T, ddat *DemoData), optv ...tO ...@@ -111,15 +111,14 @@ func withDemoData(t *testing.T, f func(t *testing.T, ddat *DemoData), optv ...tO
work1 := work + "/δ" + δstart.String() work1 := work + "/δ" + δstart.String()
err := os.Mkdir(work1, 0777); X(err) err := os.Mkdir(work1, 0777); X(err)
base := work1+"/base.fs" base := "file://"+work1+"/base.fs"
δ := work1+"/δ.fs" δ := "file://"+work1+"/δ.fs"
ddat := &DemoData{base, δ}
_, err = xtesting.ZPyRestore(base, zdumpBase); X(err) _, err = xtesting.ZPyRestore(base, zdumpBase); X(err)
// XXX vvv change to demo:(base)/(δ) // XXX + explain why demo instead of δ (restoring copy without original present fails)
// XXX + explain why (restoring copy without original present fails) _, err = xtesting.ZPyRestore(ddat.URL(), zdumpδ); X(err)
_, err = xtesting.ZPyRestore(δ, zdumpδ); X(err)
ddat := &DemoData{base, δ}
f(t, ddat) f(t, ddat)
}) })
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment