Update published parser dependency to v31 and expose FFDC archives
This commit is contained in:
1 parent
c4870cfb36
commit
78e1a473cc
56 files changed
+115
-71
No files matched your search
@@ -8,6 +8,14 @@ func TestIsSupportedConvertFileName_AcceptsNvidiaBugReportGzip(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestIsSupportedConvertFileName_AcceptsLenovoFFDC(t *testing.T) {
|
||||
for _, name := range []string{"ffdc.tzz", "FFDC.TZZ"} {
|
||||
if !isSupportedConvertFileName(name) {
|
||||
t.Fatalf("expected Lenovo FFDC %s to be supported", name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestAnalyzeUploadedFile_RejectsUnsupportedExtension(t *testing.T) {
|
||||
s := &Server{}
|
||||
_, _, _, err := s.analyzeUploadedFile("unsupported.bin", "application/octet-stream", []byte("abc"))
|
||||
|
||||
Reference in new issue
Block a user