mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03: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
1 changed files with 4 additions and 0 deletions
|
@ -1303,6 +1303,9 @@ fi
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
echo_header "Test recovering from from broken git submodules"
|
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)
|
ROOT=$(create_test_dir)
|
||||||
cd "$ROOT"
|
cd "$ROOT"
|
||||||
mkdir foo bar
|
mkdir foo bar
|
||||||
|
@ -1425,6 +1428,7 @@ EOF
|
||||||
$fdroid checkupdates --allow-dirty --auto -v
|
$fdroid checkupdates --allow-dirty --auto -v
|
||||||
grep "CurrentVersionCode: 1" metadata/fake.yml
|
grep "CurrentVersionCode: 1" metadata/fake.yml
|
||||||
|
|
||||||
|
unset GIT_ALLOW_PROTOCOL
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue