mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-07 14:11:52 +00:00
Export more useful variables in a test environment
The set_env_variables function exports different variables that are dependent of a specific test environment. This commit adds a few more variables that can be used to reduce the typing when writing tests.
This commit is contained in:
committed by
Matthew Johnson
parent
67fd7f572b
commit
722befea90
@@ -163,7 +163,11 @@ set_env_variables() {
|
||||
export SWUPD_OPTS="-S $path/$env_name/state -p $path/$env_name/target-dir -F staging -u file://$path/$env_name/web-dir -C $FUNC_DIR/Swupd_Root.pem -I"
|
||||
export SWUPD_OPTS_NO_CERT="-S $path/$env_name/state -p $path/$env_name/target-dir -F staging -u file://$path/$env_name/web-dir"
|
||||
export SWUPD_OPTS_MIRROR="-p $path/$env_name/target-dir"
|
||||
export SWUPD_OPTS_NO_FMT="-S $path/$env_name/state -p $path/$env_name/target-dir -u file://$path/$env_name/web-dir -C $FUNC_DIR/Swupd_Root.pem -I"
|
||||
export TEST_DIRNAME="$path"/"$env_name"
|
||||
export WEBDIR="$env_name"/web-dir
|
||||
export TARGETDIR="$env_name"/target-dir
|
||||
export STATEDIR="$env_name"/state
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user