diff --git a/tests/run-tests b/tests/run-tests index c2507f99..15f2269d 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -1289,6 +1289,9 @@ fi #------------------------------------------------------------------------------# echo_header "Test recovering from from broken git submodules" +# On some platforms, checkupdates submodule tests need explicit perms to use file:/// +export GIT_ALLOW_PROTOCOL=file + ROOT=$(create_test_dir) cd "$ROOT" mkdir foo bar @@ -1363,6 +1366,7 @@ echo "CurrentVersionCode: 1" >> metadata/fake.yml $fdroid checkupdates --allow-dirty grep "CurrentVersionCode: 2" metadata/fake.yml +unset GIT_ALLOW_PROTOCOL #------------------------------------------------------------------------------#