File: simple

package info (click to toggle)
mt-st 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: ansic: 1,647; makefile: 106; sh: 16
file content (20 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# This is just running the upstream tests against the installed
# package.

set -eu

# Copy tests
echo Copying tests
cp -a tests stinit.def.examples Makefile "$AUTOPKGTEST_TMP/"

# Symlink the installed binaries
echo Symlinking the package binaries
ln -s /usr/bin/mt-st "$AUTOPKGTEST_TMP/mt"
ln -s /usr/sbin/stinit "$AUTOPKGTEST_TMP/stinit"

# And then run tests
echo Running tests
cd "$AUTOPKGTEST_TMP"
make check