diff --git a/.github/workflows/dev-long-tests.yml b/.github/workflows/dev-long-tests.yml index c8ba69758..f1689478f 100644 --- a/.github/workflows/dev-long-tests.yml +++ b/.github/workflows/dev-long-tests.yml @@ -81,9 +81,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: clang + ASan + UBSan + Test Zstd - run: | - sudo apt-get -qqq update - CC=clang make -j uasan-test-zstd expected = 0; zds->streamStage = zdss_init; someMoreWork = 0; @@ -2194,7 +2194,7 @@ size_t ZSTD_decompressStream(ZSTD_DStream* zds, ZSTD_outBuffer* output, ZSTD_inB zds->outStart = zds->outEnd = 0; } break; - }} + } } /* cannot complete flush */ someMoreWork = 0; break; diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index 04a75f09e..94eb848aa 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -522,7 +522,7 @@ static int basicUnitTests(U32 seed, double compressibility) } DISPLAYLEVEL(3, "OK \n"); - DISPLAYLEVEL(3, "test%3i : NULL buffers : ", testNb++); + DISPLAYLEVEL(3, "test%3i : NULL output and NULL input : ", testNb++); inBuff.src = NULL; inBuff.size = 0; inBuff.pos = 0; @@ -548,7 +548,9 @@ static int basicUnitTests(U32 seed, double compressibility) { size_t const ret = ZSTD_decompressStream(zd, &outBuff, &inBuff); if (ret != 0) goto _output_error; } + DISPLAYLEVEL(3, "OK\n"); + DISPLAYLEVEL(3, "test%3i : NULL output buffer with non-NULL input : ", testNb++); { const char* test = "aa"; inBuff.src = test;