summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-04-29 12:22:38 +0200
committerTor Andersson <tor@ccxvii.net>2025-05-06 20:00:03 +0200
commitfcf6e38f68c22c1f1bbdb5f0f900d46d202d85a1 (patch)
tree67c4980c5f29fe582f7e9a52833358751652eba8 /tools
parent64f345c56447fb01e73c99827c028f6507a1514b (diff)
downloadserver-fcf6e38f68c22c1f1bbdb5f0f900d46d202d85a1.tar.gz
Add jsfuzz to npm dev-dependencies.
Diffstat (limited to 'tools')
-rw-r--r--tools/fuzz.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/fuzz.js b/tools/fuzz.js
index e9863cb..c82db74 100644
--- a/tools/fuzz.js
+++ b/tools/fuzz.js
@@ -99,8 +99,9 @@ function list_actions(R, V) {
if (V.actions) {
for (var act in V.actions) {
var arg = V.actions[act]
- if (act === "undo") {
+ if (act === "undo" || act === "ping") {
// never undo
+ // never ping
} else if (arg === 0 || arg === false) {
// disabled button
} else if (arg === 1 || arg === true) {
@@ -235,7 +236,8 @@ function log_crash(message, ctx, action) {
var dump = `fuzzer/${TITLE}-${hash}.json`
fs.writeFileSync(dump, json)
- console.log("\trtt import", dump)
+ console.log("rtt import", dump)
+ console.log("")
if (++errors >= MAX_ERRORS)
throw new Error("too many errors")