add commands
This commit is contained in:
parent
238e1aec12
commit
3ee26075c6
9
test/commands/notify-queue.txt
Normal file
9
test/commands/notify-queue.txt
Normal 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
5
test/commands/ttl.txt
Normal file
@ -0,0 +1,5 @@
|
||||
set codehole yoyo
|
||||
expire codehole 600
|
||||
ttl codehole
|
||||
set codehole yoyo
|
||||
ttl codehole
|
6
test/exec.sh
Executable file
6
test/exec.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ./exec_redis.sh
|
||||
|
||||
exec "127.0.0.1" "6379" "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user