mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
added tests
This commit is contained in:
parent
c610a01d7d
commit
fbd9e628ae
2 changed files with 31 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue