1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

updated tests

This commit is contained in:
Yann Collet
2016-02-12 02:56:27 +01:00
parent 71eafdd23f
commit c8da2c9f8f
4 changed files with 23 additions and 24 deletions

View File

@ -372,8 +372,8 @@ int main(int argCount, const char** argv)
goto _end;
}
/* No input filename ==> use stdin */
if(!filenameIdx) filenameIdx=1, filenameTable[0]=stdinmark;
/* No input filename ==> use stdin and stdout */
if(!filenameIdx) filenameIdx=1, filenameTable[0]=stdinmark, outFileName=stdoutmark;
/* Check if input/output defined as console; trigger an error in this case */
if (!strcmp(filenameTable[0], stdinmark) && IS_CONSOLE(stdin) ) return badusage(programName);