32
32
t.Error("failed to create tmp archive")
36
36
unpackdir := filepath.Join(tmpdir, "t")
37
37
err = Unpack(tmpfile, unpackdir)
39
39
t.Error("unpack failed: %v", err)
42
42
_, err = os.Open(filepath.Join(tmpdir, "t/etc/fstab"))
44
44
t.Error("can not find expected file in unpacked dir")