From 9ae21afa4886e7c221d5061be366241f94293a1e Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Thu, 14 Nov 2019 12:34:46 +0100 Subject: [PATCH] Fix tests for new autopkgtest standards --- debian/tests/run-testsuite-if-acls-enabled | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/tests/run-testsuite-if-acls-enabled b/debian/tests/run-testsuite-if-acls-enabled index d5a00d5..a3019f3 100755 --- a/debian/tests/run-testsuite-if-acls-enabled +++ b/debian/tests/run-testsuite-if-acls-enabled @@ -1,12 +1,12 @@ #!/bin/sh -TESTFILE="$ADTTMP/foo" +TESTFILE="$AUTOPKGTEST_TMP/foo" touch "$TESTFILE" if setfacl -m u:root:r "$TESTFILE"; then - echo "Temporary directory '$ADTTMP' has ACLs enabled, running tests" - export TEST_DIR="$ADTTMP" + echo "Temporary directory '$AUTOPKGTEST_TMP' has ACLs enabled, running tests" + export TEST_DIR="$AUTOPKGTEST_TMP" echo "* testing Python 2" python2 test/test_acls.py echo "* testing Python 2 debug package" @@ -16,6 +16,6 @@ if setfacl -m u:root:r "$TESTFILE"; then echo "* testing Python 3 debug package" python3-dbg test/test_acls.py else - echo "Temporary directory '$ADTTMP' doesn't have extended attributes enabled" + echo "Temporary directory '$AUTOPKGTEST_TMP' doesn't have extended attributes enabled" echo "Skipping the tests :(" fi -- 2.39.5