File: test

package info (click to toggle)
xrootconsole 1%3A0.6-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 580 kB
  • sloc: ansic: 6,693; makefile: 63; sh: 44
file content (13 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ -z "$AUTOPKGTEST_TMP" -o ! -d "$AUTOPKGTEST_TMP" ]; then
   echo '$AUTOPKGTEST_TMP not set or not pointing to a directory' 1>&2
   exit 1
fi

cp -pv test "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
sed -e 's:./xrootconsole:/usr/bin/xrootconsole:' -i test
xvfb-run ./test