File: upstream-runtime-tests

package info (click to toggle)
keyutils 1.6.3-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,372 kB
  • sloc: sh: 5,429; ansic: 4,813; makefile: 278
file content (18 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# Run upstream runtime tests
# Assumes $AUTOPKGTEST_TMP is set, see /usr/share/doc/autopkgtest/README.package-tests.gz

# We just copy and run the entire test suite to resp. from the $AUTOPKGTEST_TMP
# directory because it generates output within each test's source directory.
set -e
cp -r tests "$AUTOPKGTEST_TMP/upstream-runtime-tests"
cd "$AUTOPKGTEST_TMP/upstream-runtime-tests"
set +e

# Skip tests requiring either root or /sbin/request-key, as they don't work
# with some container solutions due to their close interaction with the kernel.
# See #923156
make SKIPROOTREQ=yes SKIPINSTALLREQ=yes run

# Save all test output files so that they can be accessed from ci.debian.net
cp -r keyctl "$AUTOPKGTEST_ARTIFACTS/upstream-runtime-tests"