summaryrefslogtreecommitdiffhomepage
path: root/tests/custom
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2024-06-17 12:05:23 +0200
committerFelix Fietkau <nbd@nbd.name>2024-06-17 12:52:54 +0200
commit5d305cfb2ab7b997dc1314cb6d4483683275680c (patch)
treedb065147b1319098802454549e574f24f033c07f /tests/custom
parente0bab40c85780f765bed78bd2e67f376b6883594 (diff)
fs: add lock() file method
Implements file based locking on a given file handle. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tests/custom')
-rw-r--r--tests/custom/03_stdlib/40_proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/custom/03_stdlib/40_proto b/tests/custom/03_stdlib/40_proto
index 6fed529..d96d124 100644
--- a/tests/custom/03_stdlib/40_proto
+++ b/tests/custom/03_stdlib/40_proto
@@ -38,6 +38,7 @@ When invoked with two arguments, returns the given value.
Hello, World!
[
{
+ "lock": "function lock(...) { [native code] }",
"truncate": "function truncate(...) { [native code] }",
"isatty": "function isatty(...) { [native code] }",
"error": "function error(...) { [native code] }",