Kevin Svetlitski
9b28c26cbf
Integrate verbose mode tests into playTests.sh
2021-11-12 14:10:21 -08:00
Yann Collet
7868f38019
Merge pull request #2747 from Helflym/dev
...
Add AIX support in Makefile
2021-10-01 08:13:39 -07:00
Sen Huang
4a498fb9c3
Add a dictionary training large corpus test
2021-09-13 12:29:17 -04:00
Yann Collet
f21977c5e6
fix playTests.sh when EXE_PREFIX not null
2021-08-29 17:20:12 -07:00
Clément Chigot
6ef6cd7999
test: avoid /dev/full on AIX
2021-08-13 10:25:50 +02:00
W. Felix Handte
a8f4612eab
Remove sleep()s in Test; Replace with Artificial mtime
...
This behavior of `touch` is standardized in POSIX, so it should be available.
2021-08-04 15:56:46 -04:00
W. Felix Handte
ead41bcb4e
Add Test to Verify mtime is Copied to Destination
2021-08-03 17:22:58 -04:00
sen
d90bc0e0b6
Merge pull request #2720 from senhuang42/remove_folder
...
Remove folder when done with test
2021-06-30 14:37:21 -04:00
senhuang42
f5f6cc2e48
Remove folder when done with test
2021-06-30 13:09:00 -04:00
Binh Vo
6a46e38deb
Add option to use logical cores for default threads
2021-06-16 15:46:17 -04:00
binhdvo
89127e5ee2
Merge pull request #2705 from binhdvo/bootcamp
...
Add support for negative values in advanced flags
2021-06-11 14:08:23 -04:00
Binh Vo
6fad35c6a1
Add support for negative levels in --adapt=min and --adapt=max"
2021-06-11 12:13:09 -04:00
W. Felix Handte
94cf57bb13
Update Tests to Reflect New Formatting
2021-06-10 13:14:18 -04:00
binhdvo
325952f878
Revert "Add support for --long-param flag, fix #2104"
2021-06-09 15:35:43 -04:00
Binh Vo
6583fa3f0a
Add support for --long-param flag
2021-06-09 14:07:52 -04:00
Binh Vo
d2f31b6627
Fix --progress flag to properly control progress display and default progress display on when using -v
2021-06-08 17:24:38 -04:00
Yann Collet
61afa154cd
improve tar compatibility
...
This patch is supposed to improve compatibility with less featured tar variants
"when the tar program used does not support historical options (without hyphen) nor the '-z' option."
Patch proposed by Antonio Diaz Diaz
2021-05-15 23:09:42 -07:00
W. Felix Handte
bea1b2ba70
`rm -f` in playTests.sh
2021-05-05 13:10:34 -04:00
W. Felix Handte
018ed6552a
Attempt to Fix `stat` Format for BSDs
2021-05-05 13:10:34 -04:00
W. Felix Handte
1fb10ba831
Don't Block Removing File on Being Able to Read It
...
`open()`'s mode bits are only applied to files that are created by the call.
If the output file already exists, but is not readable, the `fopen()` would
fail, preventing us from removing it, which would mean that the file would
not end up with the correct permission bits.
It's not clear to me why the `fopen()` is there at all. `UTIL_isRegularFile()`
should be sufficient, AFAICT.
2021-05-05 13:10:34 -04:00
W. Felix Handte
4e10ff15f5
Add Tests Checking File Permissions of Created Files
2021-05-05 13:10:34 -04:00
Felix Handte
2d10544b84
Merge pull request #2613 from felixhandte/allow-block-device
...
Allow Reading from Block Devices with `--force`
2021-05-05 13:06:32 -04:00
Nick Terrell
0b88c2582c
[test] Add large dict/data --patch-from test
...
Dictionary size must be > `ZSTD_CHUNKSIZE_MAX`.
2021-05-04 17:31:32 -07:00
W. Felix Handte
e58e9c7928
Add Test Case (Behind Flag); Run in GitHub Action
2021-05-04 18:43:39 -04:00
Nick Terrell
2e4fca38d8
[tests] Reduce memory usage of MT CLI tests
...
Switch from `-T0` to the default `-T1` which significantly reduces
memory usage for level 19 when there are many cores. This fixes
32-bit issues of running out of address space.
Fixes #2603 .
2021-05-03 16:29:11 -07:00
Sen Huang
77ae664ba6
Fix ZSTD_dedicatedDictSearch_isSupported() requirements
2021-03-16 17:36:05 -07:00
Felix Handte
aec1e8c715
Merge pull request #2513 from felixhandte/fix-2493
...
Avoid Using `stat -c` on NetBSD
2021-02-26 18:02:38 -05:00
W. Felix Handte
221e4659cd
Avoid Using `stat -c` on NetBSD
...
Addresses #2493 . I think. I don't have a NetBSD system to test on.
2021-02-26 13:05:39 -05:00
W. Felix Handte
9b7f9d26d5
Cover These Edge Cases in Tests
2021-02-26 13:01:20 -05:00
nia
74f85818a6
Use standard md5 tool on NetBSD.
...
This avoids a GNU coreutils dependency.
-n is used to match the output format of coreutils:
http://man.netbsd.org/md5.1
2021-02-11 10:50:11 +01:00
Nick Terrell
54a4998a80
Add basic tracing functionality
2021-02-05 16:28:52 -08:00
Yann Collet
3536e9d5ff
removing tests using too much resources for 32-bit address space
2020-12-17 15:44:54 -08:00
Nick Terrell
0be843b200
[tests] Fix playTests.sh with spaces in path
2020-12-10 11:03:47 -08:00
Yann Collet
4b5d7e9ddb
fix lz4 test messed by console detection
2020-11-30 06:47:16 -08:00
Yann Collet
f5d5cd3b40
Merge pull request #2341 from senhuang42/ldm_optimized_for_opt_parser
...
Integrate long distance matches into optimal parser
2020-10-13 13:09:07 -07:00
senhuang42
b8bfc4e63d
Add cSize regression test to fuzzer.c
2020-10-07 13:56:25 -04:00
senhuang42
429dec4f42
Add DEBUGLOG() calls in ldm helpers
2020-10-07 13:56:25 -04:00
senhuang42
cfd2aec1b7
Add unit tests into playTests.sh
2020-10-07 13:56:25 -04:00
senhuang42
7259b258d1
Add callsites to zstdcli.c and tests to playTests.sh
2020-10-07 13:47:38 -04:00
Yann Collet
83461ce963
Merge pull request #2322 from senhuang42/guard_against_stdin_for_warning_prompts
...
Don't let warning messages consume input from stdin
2020-09-30 08:26:50 -07:00
senhuang42
9f7212a48b
Update unit tests
2020-09-24 16:44:33 -04:00
Yann Collet
c6c0a57c53
Merge pull request #2315 from senhuang42/allow_zstd_suffix
...
Support .zstd suffix only for decompression
2020-09-24 09:44:48 -07:00
senhuang42
21cd640b93
Add unit tests to guard against bad stdin
2020-09-22 14:55:41 -04:00
senhuang42
7aa3da1cd7
Use IS_CONSOLE macro to detect that we're indeed using a console
2020-09-22 14:15:52 -04:00
Nick Terrell
973f2adeec
[tests] Don't write to stdout
2020-09-22 00:40:27 -07:00
senhuang42
07034952df
Add -f to .zstd decompression CLI test
2020-09-18 13:01:45 -04:00
senhuang42
6b6cc80196
Support .zstd suffix only for decompression
2020-09-18 12:49:51 -04:00
Yann Collet
e583e0be8c
Merge pull request #2299 from senhuang42/env_var_num_threads
...
Allow environment variable to specify number of threads for compression
2020-09-14 14:04:19 -07:00
senhuang42
a71963c7b8
nbThreads instead of numThreads
2020-09-09 12:40:00 -04:00
senhuang42
0a170b20a8
Add ZSTD_NUMTHREADS tests to playTests.sh
2020-09-08 10:34:50 -04:00