mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
added tests
This commit is contained in:
@ -962,7 +962,7 @@ int main(int argCount, const char* argv[])
|
||||
if (!strcmp(argument, "--help")) { usageAdvanced(programName); CLEAN_RETURN(0); }
|
||||
if (!strcmp(argument, "--verbose")) { g_displayLevel++; continue; }
|
||||
if (!strcmp(argument, "--quiet")) { g_displayLevel--; continue; }
|
||||
if (!strcmp(argument, "--stdout")) { forceStdout=1; outFileName=stdoutmark; removeSrcFile=0; continue; }
|
||||
if (!strcmp(argument, "--stdout")) { forceStdout=1; outFileName=stdoutmark; continue; }
|
||||
if (!strcmp(argument, "--ultra")) { ultra=1; continue; }
|
||||
if (!strcmp(argument, "--check")) { FIO_setChecksumFlag(prefs, 2); continue; }
|
||||
if (!strcmp(argument, "--no-check")) { FIO_setChecksumFlag(prefs, 0); continue; }
|
||||
@ -1367,14 +1367,6 @@ int main(int argCount, const char* argv[])
|
||||
#endif
|
||||
}
|
||||
|
||||
/* disable --rm when writing to stdout */
|
||||
if (!strcmp(outFileName, stdoutmark)) {
|
||||
if (removeSrcFile) {
|
||||
DISPLAYLEVEL(2, "warning: source not removed when writing to stdout \n");
|
||||
removeSrcFile = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Check if benchmark is selected */
|
||||
if (operation==zom_bench) {
|
||||
#ifndef ZSTD_NOBENCH
|
||||
|
Reference in New Issue
Block a user