pkg/chrootarchive: TestChrootTarUntar fix copy/paste mistake
Introduced in which makes no mention
of a reason for extracting to the same directory as we created the archive from,
so I assume this was a copy/paste mistake and the path was meant to be "dest",
not "src".
@@ -58,7 +58,7 @@ func TestChrootTarUntar(t *testing.T) {
if err != nil {
t.Fatal(err)
}
- dest := filepath.Join(tmpdir, "src")
+ dest := filepath.Join(tmpdir, "dest")
if err := system.MkdirAll(dest, 0700); err != nil {
t.Fatal(err)
}
