mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: Allow to specify RESULT_BASE directory
This commit adds the possibility to specify RESULT_BASE directory from the config file, or with environment variable. The default remains the same "$here/results/". Signed-off-by: Lukas Czerner <lczerner@redhat.com> Reviewed-by: Chandra Seetharaman <sekharan@us.ibm.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
dcaf866187
commit
9fe92ade36
@@ -230,6 +230,11 @@ if [ -f "$HOST_OPTIONS" ]; then
|
||||
fi
|
||||
|
||||
get_next_config() {
|
||||
# set default RESULT_BASE
|
||||
if [ -z "$RESULT_BASE" ]; then
|
||||
export RESULT_BASE="$here/results/"
|
||||
fi
|
||||
|
||||
# Mandatory Config values.
|
||||
MC=""
|
||||
[ -z "$EMAIL" ] && MC="$MC EMAIL"
|
||||
|
||||
Reference in New Issue
Block a user