mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
run-tests: make mirror test independent of update test
This commit is contained in:
parent
a667074d89
commit
55c3a28568
1 changed files with 4 additions and 1 deletions
|
|
@ -1277,10 +1277,13 @@ fi
|
|||
echo_header 'test mirroring a repo'
|
||||
|
||||
if which wget; then
|
||||
TESTROOT=`create_test_dir`
|
||||
REPOROOT=`create_test_dir`
|
||||
cd $WORKSPACE/tests
|
||||
cp -r "$WORKSPACE/tests" "$TESTROOT"
|
||||
cd "$TESTROOT/tests"
|
||||
test -d archive || mkdir archive
|
||||
cp repo/index-v1.json $REPOROOT/
|
||||
$fdroid update
|
||||
$fdroid signindex
|
||||
mv $REPOROOT/index-v1.json repo/index-v1.json
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue