Files
systemd/test/fuzz/fuzz-user-record/auto-resize-modes.json
Frantisek Sumsal be0db50cad fuzz: add a fuzzer for user records
Add a simple fuzzer that verifies our machinery for parsing user records
from JSON works as intended.

The initial corpus was created with the help of Claude, so we have a
bunch of valid user records with as much fields as possible for the
initial corpus.
2026-03-06 19:03:14 +01:00

15 lines
380 B
JSON

{
"userName": "autoresizeuser",
"realName": "Auto Resize Test User",
"uid": 3006,
"gid": 3006,
"homeDirectory": "/home/autoresizeuser",
"shell": "/bin/bash",
"disposition": "regular",
"storage": "luks",
"imagePath": "/home/autoresizeuser.home",
"diskSize": 53687091200,
"autoResizeMode": "shrink-and-grow",
"rebalanceWeight": 100
}