diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2014-09-19 15:16:28 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2014-09-19 15:20:14 +0200 |
commit | 3ebefd43ca75978846dfc02cc93844c448b67b29 (patch) | |
tree | 1d2535e2dc0b2ceabedc1949600fed0ac9d1082d /a→c,b→c/all.do |
+ a→c,b→c
Diffstat (limited to 'a→c,b→c/all.do')
-rw-r--r-- | a→c,b→c/all.do | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/a→c,b→c/all.do b/a→c,b→c/all.do new file mode 100644 index 0000000..4e66375 --- /dev/null +++ b/a→c,b→c/all.do @@ -0,0 +1,18 @@ +#!/bin/sh +redo-ifchange a b + +read a <a +read b <b +read c <c + +if [ $a -lt $c ]; then + echo 'FAIL: a < c' >&2 +else + echo 'PASS: a > c' >&2 +fi + +if [ $b -lt $c ]; then + echo 'FAIL: b < c' >&2 +else + echo 'PASS: b > c' >&2 +fi |