diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2016-04-23 21:27:06 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2016-04-23 21:27:06 +0200 |
commit | 84a334df4bff3a4be8e0d948e364ee2f33356379 (patch) | |
tree | 9c0794b90b7248237007a3a5cee932f66ee244ea /always/all.do | |
parent | c0bc9d97b2079ebbe12247854492e77226ee4c49 (diff) |
+ test case for redo-always(1)
Diffstat (limited to 'always/all.do')
-rw-r--r-- | always/all.do | 12 |
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 |