validation: fixed some bugs
validation: removed support for remote validation (now it only works in a local network)
This commit is contained in:
parent
f395dedb4f
commit
08ec772ca5
78 changed files with 137 additions and 123 deletions
|
@ -32,11 +32,9 @@ CDWRITER="2,0,0"
|
|||
# directory of the test-cases
|
||||
VALIDATE_TEST_CASES_DIR=$ROOT_DIR/validation/test-cases
|
||||
|
||||
# override these settings if the CryptoBox is not directly available
|
||||
# in this case they should point to a redirecting router
|
||||
VALIDATE_HOST_IP=192.168.0.23
|
||||
VALIDATE_HTTP_PORT=80
|
||||
VALIDATE_HTTPS_PORT=443
|
||||
# override these settings if the CryptoBox uses a non-default IP
|
||||
VALIDATE_HOST_IP_DEFAULT=192.168.0.23
|
||||
VALIDATE_HOST_IP_CHANGED=192.168.0.24
|
||||
|
||||
# destination directories for the results
|
||||
VALIDATE_REPORT_DIR=/tmp/cryptobox-validation-$$
|
||||
|
|
|
@ -61,6 +61,8 @@ function do_single()
|
|||
rm "${2}/${TESTNAME}.status"
|
||||
fi
|
||||
cp "$1/description" "${2}/${TESTNAME}.desc"
|
||||
# sleep, if a file called 'delay' exists
|
||||
[ -e "$1/delay" ] && sleep "$(<$1/delay)"
|
||||
}
|
||||
|
||||
|
||||
|
@ -110,10 +112,10 @@ function import_style()
|
|||
[ -d "$VALIDATE_REPORT_DIR/cryptobox-img" ] && rm -r "$VALIDATE_REPORT_DIR/cryptobox-img"
|
||||
mkdir -p "$VALIDATE_REPORT_DIR/cryptobox-img"
|
||||
[ -e "$VALIDATE_REPORT_DIR/cryptobox.css" ] && rm "$VALIDATE_REPORT_DIR/cryptobox.css"
|
||||
wget -q -O "$VALIDATE_REPORT_DIR/cryptobox.css" http://$VALIDATE_HOST_IP:$VALIDATE_HTTP_PORT/cryptobox.css
|
||||
wget -q -O "$VALIDATE_REPORT_DIR/cryptobox.css" http://$VALIDATE_HOST_IP_DEFAULT/cryptobox.css
|
||||
# extract image file names
|
||||
grep "url(/cryptobox-img/" "$VALIDATE_REPORT_DIR/cryptobox.css" | sed 's#^.*url(/cryptobox-img/\(.*\)).*$#\1#' | while read a
|
||||
do wget -q -O "$VALIDATE_REPORT_DIR/cryptobox-img/$a" "http://$VALIDATE_HOST_IP:$VALIDATE_HTTP_PORT/cryptobox-img/$a"
|
||||
do wget -q -O "$VALIDATE_REPORT_DIR/cryptobox-img/$a" "http://$VALIDATE_HOST_IP_DEFAULT/cryptobox-img/$a"
|
||||
done
|
||||
|
||||
# change the stylesheet link in every html file in REPORT_DIR
|
||||
|
@ -125,7 +127,7 @@ function import_style()
|
|||
|
||||
function substitute_constants()
|
||||
{
|
||||
sed "s/_HOST_IP_/$VALIDATE_HOST_IP/g; s/_HTTP_PORT_/$VALIDATE_HTTP_PORT/g; s/_HTTPS_PORT_/$VALIDATE_HTTPS_PORT/g"
|
||||
sed "s/_HOST_IP_DEFAULT_/$VALIDATE_HOST_IP_DEFAULT/g; s/_VALIDATE_HOST_IP_CHANGED_/$VALIDATE_HOST_IP_CHANGED/g"
|
||||
}
|
||||
|
||||
##################### main ###########################
|
||||
|
@ -141,8 +143,8 @@ case "$ACTION" in
|
|||
;;
|
||||
check )
|
||||
[ $# -ne 2 ] && error_die 1 "Syntax: $(basename $0) check NAME"
|
||||
CASE_DIR="$VALIDATE_TEST_CASES_DIR/$2"
|
||||
[ ! -d "$VALIDATE_CASE_DIR" ] && error_die 2 "the test case was not found ($VALIDATE_CASE_DIR)!"
|
||||
case_dir="$VALIDATE_TEST_CASES_DIR/$2"
|
||||
[ ! -d "$case_dir" ] && error_die 2 "the test case was not found ($case_dir)!"
|
||||
do_series "$2"
|
||||
import_style
|
||||
;;
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
url http://_HOST_IP_:_HTTP_PORT_/cryptobox
|
||||
data action=init_ask
|
||||
url http://_HOST_IP_DEFAULT_/cryptobox
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/croptyfox
|
||||
url https://_HOST_IP_DEFAULT_/croptyfox
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_
|
||||
url https://_HOST_IP_DEFAULT_
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=init_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=init_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=init_do
|
||||
data password=
|
||||
data password2=
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=init_do
|
||||
data password=hallo
|
||||
data password2=hall
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=init_do
|
||||
data password=hallo
|
||||
data password2=hallo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=mount_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=mount_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=mount_do
|
||||
data password=hallo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=umount_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=umount_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=umount_do
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=umount_do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=config_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=config_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=config_do
|
||||
data language=de
|
||||
data ip=192.168.0.23
|
||||
data ip=_HOST_IP_DEFAULT_
|
||||
data timeout=30
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=0
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=init_do
|
||||
data password=hallo
|
||||
data password2=hallo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=mount_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=mount_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=mount_do
|
||||
data password=hallo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=umount_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=umount_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=umount_do
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=umount_do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=config_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=config_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=config_do
|
||||
data language=en
|
||||
data ip=192.168.0.23
|
||||
data ip=_HOST_IP_DEFAULT_
|
||||
data timeout=40
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=init_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=init_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=init_do
|
||||
data password=hallo
|
||||
data password2=hallo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=1
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=mount_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=mount_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=mount_do
|
||||
data password=
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=mount_do
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=mount_do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=mount_do
|
||||
data password=hallo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=mount_do
|
||||
data password=hallo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=1
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=mount_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=mount_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=1
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=mount_do
|
||||
data password=hallo
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=1
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=umount_ask
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=umount_ask
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=1
|
||||
|
|
|
@ -1 +1 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox?action=umount_do
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox?action=umount_do
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=config_do
|
||||
data language=xy
|
||||
data ip=192.168.0.23
|
||||
data ip=_HOST_IP_DEFAULT_
|
||||
data timeout=30
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=config_do
|
||||
data language=de
|
||||
data ip=192.168.0.23
|
||||
data ip=_HOST_IP_DEFAULT_
|
||||
data timeout=30
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=config_do
|
||||
data language=de
|
||||
data ip=192.168.0.23
|
||||
data ip=_HOST_IP_DEFAULT_
|
||||
data timeout=X
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=192.168.0.23
|
||||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=30
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
1
validation/test-cases/3-config/500-config_valid/delay
Normal file
1
validation/test-cases/3-config/500-config_valid/delay
Normal file
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -1,5 +1,5 @@
|
|||
url http://_HOST_IP_:_HTTPS_PORT_/cryptobox
|
||||
url https://_HOST_IP_DEFAULT_/cryptobox
|
||||
data action=config_do
|
||||
data language=en
|
||||
data ip=10.1.1.1
|
||||
data ip=_HOST_IP_CHANGED_
|
||||
data timeout=7
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Data.Config.IP=10.1.1.1
|
||||
Data.Config.IP=_HOST_IP_CHANGED_
|
||||
Data.Config.Language=en
|
||||
Data.Config.TimeOut=7
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=192.168.0.23
|
||||
Data.Status.IP=_HOST_IP_DEFAULT_
|
||||
Data.Status.Mounted=0
|
||||
|
|
1
validation/test-cases/3-config/510-config-restore/delay
Normal file
1
validation/test-cases/3-config/510-config-restore/delay
Normal file
|
@ -0,0 +1 @@
|
|||
20
|
|
@ -0,0 +1 @@
|
|||
restore default settings
|
|
@ -0,0 +1,5 @@
|
|||
url https://_HOST_IP_CHANGED_/cryptobox
|
||||
data action=config_do
|
||||
data language=de
|
||||
data ip=_HOST_IP_CHANGED_
|
||||
data timeout=10
|
7
validation/test-cases/3-config/510-config-restore/output
Normal file
7
validation/test-cases/3-config/510-config-restore/output
Normal file
|
@ -0,0 +1,7 @@
|
|||
Data.Config.IP=_HOST_IP_DEFAULT_
|
||||
Data.Config.Language=de
|
||||
Data.Config.TimeOut=10
|
||||
Data.Status.Config=1
|
||||
Data.Status.InitRunning=0
|
||||
Data.Status.IP=_HOST_IP_CHANGED_
|
||||
Data.Status.Mounted=0
|
Loading…
Reference in a new issue