Files
shadow/debian/tests/upstream
Serge Hallyn aad21d4486 Add upstream tests to run in autopkgtests
Disable the su tests, since su in debian comes from util-linux.

[zeha@d.o: rebase on top of upstream applied patch, rework
debian/tests/*]
2024-06-27 01:27:24 +02:00

16 lines
190 B
Bash
Executable File

#!/bin/sh
useradd ubuntu
export BUILD_BASE_DIR=$(pwd)
cd tests/tests
cleanup() {
cp testsuite.log $AUTOPKGTEST_ARTIFACTS/
cat testsuite.log
}
trap cleanup TERM EXIT
./run_some 2>&1