xfstests.zsh: Don't create results directory until we have results

Otherwise the empty directory will show up in the results tool as an
option, which could leade to gtk errors when trying to populate the
results table.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
Anna Schumaker 2022-01-28 16:26:27 -05:00
parent b6f523e622
commit 58b9083908
1 changed files with 1 additions and 1 deletions

View File

@ -57,13 +57,13 @@ run_xfs_tests() {
--version $2 \
--opts $OPTIONS \
--user $USER $testargs" | python $COLOR $1 $2
mkdir -p $RESULTS
scp -q ${CLIENT[-1]}:$REMOTE_RESULTS/$1/$2/result.xml $RESULTS/$1-$2.xml
}
#
# Run tests
#
mkdir -p $RESULTS
for proto in $PROTO; do
for vers in $VERSION; do
case $vers in