common/config: create $RESULT_BASE before dumping kmemleak leaks
[xfstests-dev.git] / check
diff --git a/check b/check
index 59f94c1..3de1f08 100755 (executable)
--- a/check
+++ b/check
@@ -534,13 +534,6 @@ for section in $HOST_OPTIONS_SECTIONS; do
                fi
        fi
 
-       mkdir -p $RESULT_BASE
-       if [ ! -d $RESULT_BASE ]; then
-               echo "failed to create results directory $RESULT_BASE"
-               status=1
-               exit
-       fi
-
        if $OPTIONS_HAVE_SECTIONS; then
                echo "SECTION       -- $section"
        fi