add removerule test script
This commit is contained in:
parent
4a4c3b9941
commit
842236ddf1
7
tests/removerule.sh
Executable file
7
tests/removerule.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z $2 ]; then
|
||||
echo "usage: $0 host ruleId"
|
||||
else
|
||||
(echo '{"id":1, "method":"Rules.RemoveRule", "params":{"ruleId":"'$2'"}}'; sleep 1) | nc $1 1234
|
||||
fi
|
||||
Reference in New Issue
Block a user