mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-21 07:05:25 -04:00
tests: Pull things via http instead of local pulls
This causes us to use the same codepaths as in real use. Also, there seems to be an issue with partial pulls for local remotes.
This commit is contained in:
1 parent
3639601848
commit
20a737dc90
1 file changed
+3
-1
+3
-1
@@ -167,7 +167,9 @@ export FL_GPGARGS="--gpg-homedir=${FL_GPG_HOMEDIR} --gpg-sign=${FL_GPG_ID}"
|
||||
setup_repo () {
|
||||
GPGARGS="$FL_GPGARGS" . $(dirname $0)/make-test-runtime.sh org.test.Platform bash ls cat echo readlink > /dev/null
|
||||
GPGARGS="$FL_GPGARGS" . $(dirname $0)/make-test-app.sh > /dev/null
|
||||
flatpak remote-add ${U} --gpg-import=${FL_GPG_HOMEDIR}/pubring.gpg test-repo repo
|
||||
ostree trivial-httpd --autoexit --daemonize -p httpd-port .
|
||||
port=$(cat httpd-port)
|
||||
flatpak remote-add ${U} --gpg-import=${FL_GPG_HOMEDIR}/pubring.gpg test-repo "http://127.0.0.1:${port}/repo"
|
||||
}
|
||||
|
||||
make_updated_app () {
|
||||
|
||||
Reference in new issue
Block a user