This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=e6fcb3d3a84ed859310a83b129f1fc882b61e962 commit e6fcb3d3a84ed859310a83b129f1fc882b61e962 Author: Guillem Jover <[email protected]> AuthorDate: Sat Jan 2 19:47:10 2021 +0100 debian: Use AUTOPKGTEST_TMP instead of writing into the source tree Remove the rw-build-tree restriction, which is not needed anymore. --- debian/tests/control | 4 ++-- debian/tests/test-not-root | 7 +++---- debian/tests/test-root | 7 +++---- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/debian/tests/control b/debian/tests/control index bba379db1..895b656a9 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,7 +1,7 @@ Tests: test-not-root Depends: build-essential, autoconf, pkg-config, file -Restrictions: superficial skippable rw-build-tree +Restrictions: superficial skippable Tests: test-root Depends: build-essential, autoconf, pkg-config, file -Restrictions: superficial rw-build-tree needs-root breaks-testbed +Restrictions: superficial needs-root breaks-testbed diff --git a/debian/tests/test-not-root b/debian/tests/test-not-root index 211de1eb6..13ce78922 100644 --- a/debian/tests/test-not-root +++ b/debian/tests/test-not-root @@ -7,9 +7,8 @@ if [ "$(id -u)" = '0' ]; then exit 77 fi -t=test-not-root +srcdir="$(pwd)" -mkdir -p $t -cd $t -../configure --disable-nls --disable-dselect +cd $AUTOPKGTEST_TMP +"$srcdir/configure" --disable-nls --disable-dselect make installcheck diff --git a/debian/tests/test-root b/debian/tests/test-root index c3cb1c257..02dcaccfe 100644 --- a/debian/tests/test-root +++ b/debian/tests/test-root @@ -7,9 +7,8 @@ if [ "$(id -u)" != '0' ]; then exit 1 fi -t=test-root +srcdir="$(pwd)" -mkdir -p $t -cd $t -../configure --disable-nls --disable-dselect +cd $AUTOPKGTEST_TMP +"$srcdir/configure" --disable-nls --disable-dselect make installcheck -- Dpkg.Org's dpkg

