mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
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.
15 lines
380 B
JSON
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
|
|
}
|