summary refs log tree commit diff
path: root/src/check-diff
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2004-03-08 12:37:10 +0000
committerGerrit Pape <pape@smarden.org>2004-03-08 12:37:10 +0000
commitde9ec7ad46f26d2f4eb06f23223ccecec40d7b9c (patch)
treef9c37620237729fc074832f76fb49f793c5cbffd /src/check-diff
parent0843f9bd30895d35e16028fbd1bdeae08492d1ae (diff)
downloadrunit-de9ec7ad46f26d2f4eb06f23223ccecec40d7b9c.tar.gz
runit-de9ec7ad46f26d2f4eb06f23223ccecec40d7b9c.tar.xz
runit-de9ec7ad46f26d2f4eb06f23223ccecec40d7b9c.zip
* check-diff, check-dist, check-local, package/check: new; run checks on
    programs.
  * package/install: run package/check.
  * chpst.check, runit-init.check, runit.check, runsv.check,
    runsvchdir.check, runsvctrl.check, runsvdir.check, runsvstat.check,
    svlogd.check, svwaitdown.check, svwaitup.check, utmpset.check: new;
    check program.
  * chpst.dist, runit-init.dist, runit.dist, runsv.dist, runsvchdir.dist,
    runsvctrl.dist, runsvdir.dist, runsvstat.dist, svlogd.dist,
    svwaitdown.dist, svwaitup.dist, utmpset.dist: new; dist check program
    output.
1.0.1
Diffstat (limited to 'src/check-diff')
-rwxr-xr-xsrc/check-diff5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/check-diff b/src/check-diff
new file mode 100755
index 0000000..d334238
--- /dev/null
+++ b/src/check-diff
@@ -0,0 +1,5 @@
+#!/bin/sh
+while read i; do
+  read j 0<&7 || exit 1
+  test "$i" = "$j" || exit 1
+done 7<$1.dist <$1.local