summaryrefslogtreecommitdiff
path: root/stdout-and-$3/all.do
diff options
context:
space:
mode:
Diffstat (limited to 'stdout-and-$3/all.do')
-rw-r--r--stdout-and-$3/all.do4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdout-and-$3/all.do b/stdout-and-$3/all.do
new file mode 100644
index 0000000..a6d65eb
--- /dev/null
+++ b/stdout-and-$3/all.do
@@ -0,0 +1,4 @@
+#!/bin/sh
+redo-ifchange bogus \
+ && printf >&2 'FAIL: Write to $3 and stdout possible.\n' \
+ || printf >&2 'PASS: Write to $3 and stdout impossible.\n'