File: regress

package info (click to toggle)
rs 20200313-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: ansic: 548; makefile: 73; sh: 8
file content (15 lines) | stat: -rw-r--r-- 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# work around sadt not honouring the latest DEP8
test -n "$AUTOPKGTEST_TMP" || AUTOPKGTEST_TMP=${ADTTMP:-$TMPDIR}

set -e
# just to be safe
test -n "$AUTOPKGTEST_TMP"

cp /usr/share/doc/rs/check.* "$AUTOPKGTEST_TMP/"
test -e "$AUTOPKGTEST_TMP/check.t" || \
    gzip -d "$AUTOPKGTEST_TMP/check.t.gz"

zcat /usr/share/doc/mksh/check.pl.gz | \
    perl - -s "$AUTOPKGTEST_TMP/check.t" -v -p /usr/bin/rs