redis/tests/unit/moduleapi
Stav-Levi 25f780b662
Fix crash when calling internal container command without arguments (#14690)
Addresses crash and clarifies errors around container commands.

- Update server.c to handle container commands with no subcommand: emit
"missing subcommand. Try HELP."; keep "unknown subcommand" for invalid
subcommands; for unknown commands, include args preview only when
present
- Add a test module command subcommands.internal_container with a
subcommand for validation
- Add unit test asserting missing subcommand error when calling the
internal container command without arguments
2026-01-21 08:38:04 +02:00
..
aclcheck.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
async_rm_call.tcl Remove unnecessary skip:external for module tests (#14354) 2025-09-28 17:09:50 +03:00
auth.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
basics.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
blockedclient.tcl Fix crash when calling internal container command without arguments (#14690) 2026-01-21 08:38:04 +02:00
blockonbackground.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
blockonkeys.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
cluster.tcl Fix CI flaky tests (#14531) 2025-11-19 17:10:57 +08:00
cmdintrospection.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
commandfilter.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
configaccess.tcl Fix numeric config boundry check (#14286) 2025-10-28 13:40:44 +02:00
crash.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
datatype.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
datatype2.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
defrag.tcl Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326) 2025-09-10 12:52:20 +08:00
eventloop.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
fork.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
getchannels.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
getkeys.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
hash.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
hooks.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
infotest.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
infra.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
internalsecret.tcl Fix crash when calling internal container command without arguments (#14690) 2026-01-21 08:38:04 +02:00
keymeta.tcl Modules KeyMeta (Keys Metadata) (#14445) 2026-01-15 23:11:17 +02:00
keyspace_events.tcl Remove unnecessary skip:external for module tests (#14354) 2025-09-28 17:09:50 +03:00
keyspecs.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
list.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
mallocsize.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
misc.tcl New eviction policies - least recently modified (#14624) 2026-01-06 20:57:31 +08:00
moduleauth.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
moduleconfigs.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
postnotifications.tcl Remove unnecessary skip:external for module tests (#14354) 2025-09-28 17:09:50 +03:00
propagate.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
publish.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
rdbloadsave.tcl Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326) 2025-09-10 12:52:20 +08:00
reply.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
scan.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
stream.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
subcommands.tcl Fix crash when calling internal container command without arguments (#14690) 2026-01-21 08:38:04 +02:00
test_lazyfree.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
testrdb.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
timer.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
usercall.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
zset.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00