| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | exec 2>&1 |
| 5 | |
| 6 | # Ubuntu provides internet access via a proxy, but libostree doesn't need |
| 7 | # that. However, libostree also doesn't support no_proxy, so it will try |
| 8 | # to use Ubuntu's proxy for localhost, and fail to reach itself. |
| 9 | unset ftp_proxy |
| 10 | unset http_proxy |
| 11 | unset https_proxy |
| 12 | unset no_proxy |
| 13 | |
| 14 | # Don't pollute the home directory unless this looks like a dedicated |
| 15 | # autopkgtest environment |
| 16 | case "$(id -nu)@$(hostname)" in |
| 17 | (adt@*|debci@*|user@host) |
| 18 | install -d ~/.flatpak-tests/ |
| 19 | ;; |
| 20 | esac |
| 21 | |
| 22 | exec gnome-desktop-testing-runner \ |
| 23 | Flatpak/test-oci \ |
| 24 | Flatpak/test-update-portal \ |
| 25 | ${NULL+} |