File: update

package info (click to toggle)
unit-translator 0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 632 kB
  • sloc: sh: 909; makefile: 28
file content (14 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e


for backend in openrc cron xinetd inetd lsb ; do

    echo "Updating expected output for $backend backend" >&2

    find ./input -maxdepth 2 ! -type d ! -name '*.~' -exec ../utrans -f overwrite -b ="${backend}" '{}' ./expected/"${backend}" ';' 2>&1 |
	# Filter expected missing backend errors.
	grep -vx "ERROR: backend for [a-z]\+ unit not available\."

done