summaryrefslogtreecommitdiff
path: root/tools/hi-test2.conf
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-23 02:13:11 (GMT)
committerJohn Denker <jsd@av8n.com>2012-07-23 02:36:54 (GMT)
commit5b0852f0b2ddfd7d65711daf8602492a60917fbd (patch)
treee3d0ab9107e3e01ef923a71e4cfadca40a132ea6 /tools/hi-test2.conf
parent010db437f35e831d170a726aad88bcc305c7b668 (diff)
create the "bash-c" program, so as to make it easy to
write self-executing scripts
Diffstat (limited to 'tools/hi-test2.conf')
-rwxr-xr-x[-rw-r--r--]tools/hi-test2.conf10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/hi-test2.conf b/tools/hi-test2.conf
index 370ba77..50f231e 100644..100755
--- a/tools/hi-test2.conf
+++ b/tools/hi-test2.conf
@@ -1,6 +1,8 @@
+#! /usr/local/bin/bash-c set -x ; </dev/null 1</dev/null TCPREMOTEHOST=asf TCPREMOTEIP=1.2.3.4 hi-q $0 ; echo $?
+
stub hi-test x0 -snooze 2
-stub hi-test x0 -snooze 1 -exit 0
-stub greylist -suffix (sfx) -v -p 10
-qq hi-test x1 -snooze 3 -exit 3
+stub hi-test x0 -snooze 1 -exit 21 # could be 0 or 21
+stub greylist -suffix (sfx) -v -stain 10
+qq hi-test x1 -snooze 3 -exit 3 # last one controls timing, if all others exit 0
-postspam /bin/echo post spam !
+postspam /usr/local/bin/ECHO2 postspam command!