}
if (&Tmp-String-0 != '') {
test_fail
-} else {
- test_pass
}
#
if (&reply.Reply-Message == 'hello') {
test_fail
-} else {
+}
+
+exec_async_inline
+
+if (ok) {
test_pass
}
timeout = 10
}
+exec exec_async_inline {
+ wait = no
+ input_pairs = request
+ shell_escape = yes
+ timeout = 10
+ program = "/bin/sh -c 'echo goodbye'"
+}
+
exec exec_sync {
wait = yes
input_pairs = control
timeout = 10
}
+exec exec_sync_inline {
+ wait = yes
+ input_pairs = control
+ output_pairs = control
+ shell_escape = yes
+ timeout = 10
+ program = "/bin/sh -c 'echo \'Tmp-String-0 = welcome\''"
+}
}
if (&Tmp-String-0 != 'hello') {
test_fail
-} else {
- test_pass
}
#
if (&reply.Reply-Message != 'hello') {
test_fail
-} else {
- test_pass
}
+
+exec_sync_inline
+
+if (&control.Tmp-String-0 != 'welcome') {
+ test_fail
+}
+
+test_pass