From fcf6e38f68c22c1f1bbdb5f0f900d46d202d85a1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 29 Apr 2025 12:22:38 +0200 Subject: Add jsfuzz to npm dev-dependencies. --- tools/fuzz.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools/fuzz.js') 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") -- cgit v1.2.3