1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Validate quality level 4

This commit is contained in:
Jimmy Monin 2017-02-15 07:46:59 +01:00
parent f19af8b83d
commit 750d11f06d
2 changed files with 40 additions and 0 deletions

37
check_process Normal file
View file

@ -0,0 +1,37 @@
;; Test complet
auto_remove=1
; Manifest
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
admin="john" (USER)
language="fr"
is_public=1 (PUBLIC|public=1|private=0)
; Checks
pkg_linter=1
setup_sub_dir=1
setup_root=1
setup_nourl=0
setup_private=1
setup_public=1
upgrade=1
backup_restore=1
multi_instance=1
wrong_user=1
wrong_path=1
incorrect_path=1
corrupt_source=0
fail_download_source=0
port_already_use=0
final_path_already_use=0
;;; Levels
Level 1=auto
Level 2=auto
Level 3=auto
Level 4=1
; https://github.com/YunoHost-Apps/piwigo_ynh/issues/4
; Level 5=1
Level 6=auto
Level 7=auto
Level 8=0
Level 9=0
Level 10=0

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Treat unset variables as an error
set -u
# See comments in install script
app=$YNH_APP_INSTANCE_NAME