shfmt -w globally
This commit is contained in:
parent
4e207414d4
commit
d5f66e4c0a
27 changed files with 378 additions and 375 deletions
|
@ -1,6 +1,6 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
|
||||
STORAGE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
STORAGE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
STORAGE_PATHS="attachments avatars lfs packages repo-archive repo-avatars"
|
||||
|
||||
|
@ -14,7 +14,7 @@ function storage_reset() {
|
|||
function verify_storage() {
|
||||
local work_path=$DIR/forgejo-work-path
|
||||
|
||||
for path in ${STORAGE_PATHS} ; do
|
||||
for path in ${STORAGE_PATHS}; do
|
||||
test -d $work_path/data/$path
|
||||
done
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ function verify_storage() {
|
|||
function cleanup_storage() {
|
||||
local work_path=$DIR/forgejo-work-path
|
||||
|
||||
for path in ${STORAGE_PATHS} ; do
|
||||
for path in ${STORAGE_PATHS}; do
|
||||
rm -fr $work_path/data/$path
|
||||
done
|
||||
}
|
||||
|
@ -33,13 +33,13 @@ function test_storage_stable_s3() {
|
|||
|
||||
log_info "See also https://codeberg.org/forgejo/forgejo/issues/1338"
|
||||
|
||||
for version in 1.21 $RELEASE_NUMBERS_AND_DEV ; do
|
||||
for version in 1.21 $RELEASE_NUMBERS_AND_DEV; do
|
||||
log_info "Forgejo $version & $s3_backend"
|
||||
stop
|
||||
storage_reset stable-s3
|
||||
start $version $s3_backend
|
||||
fixture_create
|
||||
for fun in ${STORAGE_FUN} ; do
|
||||
for fun in ${STORAGE_FUN}; do
|
||||
fixture_${fun}_assert_s3
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue