diff -pruN 0.10.6+ds-8/debian/changelog 0.10.6+ds-8ubuntu1/debian/changelog
--- 0.10.6+ds-8/debian/changelog	2025-05-11 19:02:18.000000000 +0000
+++ 0.10.6+ds-8ubuntu1/debian/changelog	2025-07-03 10:59:34.000000000 +0000
@@ -1,3 +1,10 @@
+tools-build-clojure (0.10.6+ds-8ubuntu1) questing; urgency=medium
+
+  * Support running autopkgtest with missing home directory
+  * Support running autopkgtest with http_proxy set (LP: #2115740)
+
+ -- Benjamin Drung <bdrung@ubuntu.com>  Thu, 03 Jul 2025 12:59:34 +0200
+
 tools-build-clojure (0.10.6+ds-8) unstable; urgency=medium
 
   * Team upload.
diff -pruN 0.10.6+ds-8/debian/tests/source 0.10.6+ds-8ubuntu1/debian/tests/source
--- 0.10.6+ds-8/debian/tests/source	2025-02-21 18:34:38.000000000 +0000
+++ 0.10.6+ds-8ubuntu1/debian/tests/source	2025-07-03 10:59:34.000000000 +0000
@@ -2,6 +2,42 @@
 
 set -ueo pipefail
 
+home=$(mktemp -d "${AUTOPKGTEST_TMP-/tmp}/home.XXXXXXXXXX")
+echo "Using '$home' as home directory."
+
+proxy_config() {
+     local protocol="$1"
+     local proxy
+     proxy=$(echo "$2" | sed 's@https\?://@@;s@/$@@')
+     cat <<EOF
+    <proxy>
+      <id>${protocol}_proxy</id>
+      <active>true</active>
+      <protocol>${protocol}</protocol>
+      <host>${proxy%:*}</host>
+      <port>${proxy##*:}</port>
+      <username></username>
+      <password></password>
+      <nonProxyHosts></nonProxyHosts>
+    </proxy>
+EOF
+}
+
+if test -n "${http_proxy-}${https_proxy-}"; then
+     setting_conf="$home/.m2/settings.xml"
+     mkdir -p "${setting_conf%/*}"
+     {
+          printf "<settings>\n  <proxies>\n"
+          test -z "${http_proxy-}" || proxy_config http "${http_proxy}"
+          test -z "${https_proxy-}" || proxy_config https "${https_proxy}"
+          printf "  </proxies>\n</settings>\n"
+     } >"$setting_conf"
+
+     echo ">>>>>>>>>>>>>>>>>>>> .m2/settings.xml >>>>>>>>>>>>>>>>>>>>"
+     cat "$setting_conf"
+     echo "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
+fi
+
 cp=($(< debian/libtools-build-clojure.classpath))
 test "${cp[0]}" = usr/share/java/tools.build.jar
 unset cp[0] # drop it
@@ -16,6 +52,6 @@ test_cp=(src/main/clojure
 test_cp="$(IFS=:; echo "${test_cp[*]}")"
 
 # Derived from ./deps.edn, and avoids a circular dep on clojure-cli
-java -XX:-OmitStackTraceInFastThrow -cp "$test_cp" clojure.main \
+java -Duser.home="$home" -XX:-OmitStackTraceInFastThrow -cp "$test_cp" clojure.main \
      -m cognitect.test-runner cognitect.test-runner.api/test \
      --dir src/test/clojure --namespace-regex '.*'
