File: upstream-tests

package info (click to toggle)
python-libarchive-c 2.9-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 880 kB
  • sloc: python: 1,175; makefile: 17; sh: 10
file content (14 lines) | stat: -rwxr-xr-x 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if ! [ -d "$AUTOPKGTEST_TMP" ]; then
	echo "AUTOPKGTEST_TMP not set." >&2
	exit 1
fi

cp -rv tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
mkdir -v libarchive
touch README.rst
py.test-3 tests -vv -l -r a