* fix issue #3144 * add test case for verbose-wlog Co-authored-by: zengyijing <yijingzeng@fb.com>
This commit is contained in:
@@ -1051,6 +1051,8 @@ int main(int argCount, const char* argv[])
|
|||||||
/* Invalid character following --long */
|
/* Invalid character following --long */
|
||||||
badusage(programName);
|
badusage(programName);
|
||||||
CLEAN_RETURN(1);
|
CLEAN_RETURN(1);
|
||||||
|
} else {
|
||||||
|
ldmWindowLog = g_defaultMaxWindowLog;
|
||||||
}
|
}
|
||||||
/* Only set windowLog if not already set by --zstd */
|
/* Only set windowLog if not already set by --zstd */
|
||||||
if (compressionParams.windowLog == 0)
|
if (compressionParams.windowLog == 0)
|
||||||
|
|||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
. "$COMMON/platform.sh"
|
||||||
|
|
||||||
|
zstd < file -vv -19 -o file.19.zst
|
||||||
|
zstd -vv -l file.19.zst
|
||||||
|
|
||||||
|
zstd < file -vv -19 --long -o file.19.long.zst
|
||||||
|
zstd -vv -l file.19.long.zst
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
...
|
||||||
|
*wlog=23*
|
||||||
|
...
|
||||||
|
*wlog=27*
|
||||||
|
...
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
...
|
||||||
|
*Window Size: 8388608 B*
|
||||||
|
...
|
||||||
|
*Window Size: 134217728 B*
|
||||||
|
...
|
||||||
Reference in New Issue
Block a user