From 58b9083908b115c253bab393b3c9dbfcfc0b60f3 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Fri, 28 Jan 2022 16:26:27 -0500 Subject: [PATCH] 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 --- xfstests.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xfstests.zsh b/xfstests.zsh index b562fbf..92f4302 100755 --- a/xfstests.zsh +++ b/xfstests.zsh @@ -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