summaryrefslogtreecommitdiff
path: root/always/all.do
diff options
context:
space:
mode:
Diffstat (limited to 'always/all.do')
-rw-r--r--always/all.do12
1 files changed, 12 insertions, 0 deletions
diff --git a/always/all.do b/always/all.do
new file mode 100644
index 0000000..69d067d
--- /dev/null
+++ b/always/all.do
@@ -0,0 +1,12 @@
+#!/bin/sh
+redo-ifchange a
+read a1 <a
+
+redo-ifchange a
+read a2 <a
+
+if [ $a1 -ge $a2 ]; then
+ echo 'FAIL: a1 >= a2' >&2
+else
+ echo 'PASS: a1 < a2' >&2
+fi