prometheus/util
Ali 48f4a41e38 util/runtime: skip TestFsType on unknown filesystems instead of accepting hex format
Rather than widening the assertion to accept raw hex codes, skip the
strict _MAGIC format check with t.Skipf when the filesystem is not in
the known map. The test still exercises the error paths and will run
fully on standard Linux/macOS filesystems.

Fixes prometheus/prometheus#18471

Signed-off-by: Ali <ali@kscope.ai>
2026-04-14 16:49:46 +05:00
..
almost Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
annotations annotations: add warning for ineffective sort in range queries 2026-04-09 15:21:11 +02:00
compression Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
convertnhcb convertnhcb: reject NaN bucket boundary in SetBucketCount (#18383) 2026-03-31 14:23:17 +02:00
documentcli chore: fix emptyStringTest issues from gocritic (#18226) 2026-03-04 08:24:50 +01:00
features API: Add a /api/v1/features endpoint 2025-12-09 16:13:14 +01:00
fmtutil Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
fuzzing fuzzing: generate libFuzzer dictionary for FuzzParseExpr 2026-04-08 17:38:23 +02:00
gate Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
httputil chore: fix httpNoBody issues from gocritic 2026-03-02 20:06:30 +01:00
jsonutil Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
junitxml Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
kahansum perf(PromQL): allow inlining kahansum.Inc (#18319) 2026-03-19 15:31:20 +01:00
logging chore(kubernetes): deduplicate warning logs from the API 2026-03-12 08:34:33 +01:00
namevalidationutil Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
netconnlimit Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
notifications Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
osutil Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
pool Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
runtime util/runtime: skip TestFsType on unknown filesystems instead of accepting hex format 2026-04-14 16:49:46 +05:00
runutil Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
stats Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
strutil chore: fix emptyStringTest issues from gocritic (#18226) 2026-03-04 08:24:50 +01:00
testrecord tsdb: ST-in-WAL: Counter implementation and benchmarks (#17671) 2026-02-12 13:17:50 -05:00
teststorage chore: enable staticcheck linter and update golangci-lint to 2.10.1 2026-02-18 15:58:16 +00:00
testutil chore: remove util/testutil/synctest now that we use Go>=1.25 2026-03-30 19:48:39 +02:00
testwal post merge conflict fixes 2026-03-12 09:03:08 +00:00
treecache chore(lint): enable wg.Go 2026-02-17 15:21:51 +01:00
zeropool Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00