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
99 lines
1.6 KiB
JSON
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"
|
|
]
|
|
}
|