Improve OS detection: AIX, Fuchsia, Haiku, Solaris

This commit is contained in:
Faisal Salman
2025-03-28 05:00:32 +07:00
parent cd3bef7405
commit 8ae88b6aa5
5 changed files with 97 additions and 7 deletions

View File

@@ -5,7 +5,16 @@
"expect" :
{
"name" : "Solaris",
"version" : "sun4u"
"version" : "undefined"
}
},
{
"desc" : "Solaris",
"ua" : "Mozilla/5.0 (Solaris; SPARC; w3m/0.5.3; rv:1.0) Gecko/20100101 w3m/0.5.3",
"expect" :
{
"name" : "Solaris",
"version" : "undefined"
}
},
{
@@ -16,5 +25,23 @@
"name" : "Solaris",
"version" : "4.1.4"
}
},
{
"desc" : "Solaris",
"ua" : "Opera/5.0 (SunOS 5.8 sun4m; U) [en]",
"expect" :
{
"name" : "Solaris",
"version" : "5.8"
}
},
{
"desc" : "Solaris",
"ua" : "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100215 Solaris/10.1 (GNU) Superswan/3.5.8 (Byte/me)",
"expect" :
{
"name" : "Solaris",
"version" : "10.1"
}
}
]