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
345 B
JSON
15 lines
345 B
JSON
{
|
|
"userName": "growonly",
|
|
"realName": "Grow Only User",
|
|
"uid": 3008,
|
|
"gid": 3008,
|
|
"homeDirectory": "/home/growonly",
|
|
"shell": "/bin/bash",
|
|
"disposition": "regular",
|
|
"storage": "luks",
|
|
"imagePath": "/home/growonly.home",
|
|
"diskSize": 53687091200,
|
|
"autoResizeMode": "grow",
|
|
"rebalanceWeight": true
|
|
}
|