mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
tests/run-tests: fix "fatal: transport 'file' not allowed"
https://gitlab.com/eighthave/fdroidserver/-/jobs/3202418899
This commit is contained in:
parent
2bde06a60f
commit
2b5c35829f
@ -1303,6 +1303,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
|
||||
@ -1425,6 +1428,7 @@ EOF
|
||||
$fdroid checkupdates --allow-dirty --auto -v
|
||||
grep "CurrentVersionCode: 1" metadata/fake.yml
|
||||
|
||||
unset GIT_ALLOW_PROTOCOL
|
||||
|
||||
#------------------------------------------------------------------------------#
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user