From aefee11a50e27d0bad9067f2a850c826d43400a9 Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Sun, 7 Jan 2018 11:32:56 +0300 Subject: [PATCH] api_basic.t: fix help() test --- tests/t/api_basic.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/t/api_basic.t b/tests/t/api_basic.t index 2ea21a1..1b1a2ac 100644 --- a/tests/t/api_basic.t +++ b/tests/t/api_basic.t @@ -21,7 +21,7 @@ Basic Lua API tests > print("tid:" .. (thread_id or "(nil)") .. " cleanup()") > end > - > function help() + > function help(thread_id) > print("tid:" .. (thread_id or "(nil)") .. " help()") > end > @@ -58,7 +58,7 @@ Basic Lua API tests tid:(nil) cleanup() $ sysbench $SB_ARGS help - tid:0 help() + tid:(nil) help() $ cat >$CRAMTMP/api_basic.lua < function event()