mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
tests/run-tests: fix "fatal: transport 'file' not allowed"
https://gitlab.com/eighthave/fdroidserver/-/jobs/3202418899
This commit is contained in:
parent
4aba6be8b8
commit
ce5e15d685
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue