Files
marqdo-std-fs/tests/cases/fs.json
cflmy 63bceae587 migrate: own fs/file and path sources with host-authorization assertions
Move the official stdlib file and path modules to their unique source authority
without changing public paths or host authorization. Carry the pre-migration
product assertions, including the bounded read and cleanup semantics.

Refs cflmy/marqdo#9, cflmy/marqdo-std-fs#1
2026-11-26 23:30:29 +08:00

99 lines
1.6 KiB
JSON

{
"schema": "marqdo.stdlib-test-case",
"schema_version": 1,
"name": "fs",
"file": "fs.mq.md",
"require_module": "fs/file.mq.md",
"args": [
"--allow-read",
"out",
"--allow-read",
"out/**",
"--allow-write",
"out",
"--allow-write",
"out/**"
],
"stdin": "",
"env": {},
"expected_stdout": "",
"expected_terminal": {
"items": [
{
"type": "bool",
"value": true
},
{
"decimal": "7",
"type": "int"
},
{
"type": "bool",
"value": true
},
{
"type": "text",
"value": "file"
},
{
"decimal": "7",
"type": "int"
},
{
"items": [
{
"type": "text",
"value": "fs-a.txt"
}
],
"type": "list"
},
{
"type": "bool",
"value": true
},
{
"type": "bool",
"value": true
},
{
"type": "bool",
"value": true
},
{
"type": "text",
"value": "你好\n"
},
{
"decimal": "7",
"type": "int"
},
{
"type": "text",
"value": "你好\n世界\n"
},
{
"items": [
{
"type": "text",
"value": "fs-b.txt"
}
],
"type": "list"
},
{
"type": "bool",
"value": true
},
{
"type": "bool",
"value": true
}
],
"type": "list"
},
"clean": [
"out"
]
}