Merge branch 'num2str-patch' of https://github.com/gloit042/fio
[fio.git] / lib / memcpy.c
index cf8572e270898a14c3fb3daf8be047c3bbcedd1c..a552134357131e2e2438deb44764fc61b6ec06be 100644 (file)
@@ -201,6 +201,9 @@ static int setup_tests(void)
        void *src, *dst;
        int i;
 
+       if (!tests[0].name)
+               return 0;
+
        src = malloc(BUF_SIZE);
        dst = malloc(BUF_SIZE);
        if (!src || !dst) {