add commands #3

Merged
zeekling merged 1 commits from shell_test into master 2022-02-16 14:36:56 +00:00
3 changed files with 20 additions and 0 deletions
Showing only changes of commit 3ee26075c6 - Show all commits

View File

@ -0,0 +1,9 @@
rpush notify-queue apple banana pear
llen notify-queue
lpop notify-queue
llen notify-queue
lpop notify-queue
llen notify-queue
lpop notify-queue
llen notify-queue
lpop notify-queue

5
test/commands/ttl.txt Normal file
View File

@ -0,0 +1,5 @@
set codehole yoyo
expire codehole 600
ttl codehole
set codehole yoyo
ttl codehole

6
test/exec.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
source ./exec_redis.sh
exec "127.0.0.1" "6379" "$1"