Fixed issues with fragments

This commit is contained in:
Caleb Gardner
2022-08-26 12:11:27 -05:00
parent 4efd2ee49d
commit 327781d86e
3 changed files with 21 additions and 12 deletions
+3 -2
View File
@@ -19,9 +19,9 @@ import (
const (
squashfsURL = "https://darkstorm.tech/LinuxPATest.sfs"
squashfsName = "out.sfs"
squashfsName = "LinuxPATest.sfs"
filePath = "PortableApps/Desktop.ini"
filePath = "PortableApps/Notepad++Portable/App/DefaultData/Config/contextMenu.xml"
)
func preTest(dir string) (fil *os.File, err error) {
@@ -153,6 +153,7 @@ func TestSingleFile(t *testing.T) {
if err != nil {
t.Fatal(err)
}
os.Remove(filepath.Base(filePath))
rdr, err := squashfs.NewReader(fil)
if err != nil {
t.Fatal(err)