File tree Expand file tree Collapse file tree 4 files changed +27
-9
lines changed
tests/cli-tests/compression Expand file tree Collapse file tree 4 files changed +27
-9
lines changed Original file line number Diff line number Diff line change 38
38
- name : OS-X test
39
39
run : make test # make -c lib all doesn't work because of the fact that it's not a tty
40
40
41
+ # lasts ~24mn
42
+ make-test-32bit :
43
+ runs-on : ubuntu-latest
44
+ env :
45
+ DEVNULLRIGHTS : 1
46
+ READFROMBLOCKDEVICE : 1
47
+ steps :
48
+ - uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3
49
+ - name : make test
50
+ run : |
51
+ sudo apt-get -qqq update
52
+ make libc6install
53
+ CFLAGS="-m32" make test
54
+
41
55
no-intrinsics-fuzztest :
42
56
runs-on : ubuntu-latest
43
57
steps :
Original file line number Diff line number Diff line change @@ -25,8 +25,10 @@ zstd --stdout file | zstd -t
25
25
println bob | zstd | zstd -t
26
26
27
27
# Test keeping input file when compressing to stdout in gzip mode
28
- $ZSTD_SYMLINK_DIR /gzip -c file | zstd -t ; test -f file
29
- $ZSTD_SYMLINK_DIR /gzip --stdout file | zstd -t ; test -f file
28
+ if $( command -v $ZSTD_SYMLINK_DIR /gzip) ; then
29
+ $ZSTD_SYMLINK_DIR /gzip -c file | zstd -t ; test -f file
30
+ $ZSTD_SYMLINK_DIR /gzip --stdout file | zstd -t ; test -f file
31
+ fi
30
32
31
33
# Test --rm
32
34
cp file file-rm
Original file line number Diff line number Diff line change 6
6
# set -v
7
7
8
8
# Test gzip specific compression option
9
- $ZSTD_SYMLINK_DIR /gzip --fast file ; $ZSTD_SYMLINK_DIR /gzip -d file.gz
10
- $ZSTD_SYMLINK_DIR /gzip --best file ; $ZSTD_SYMLINK_DIR /gzip -d file.gz
9
+ if $( command -v $ZSTD_SYMLINK_DIR /gzip) ; then
10
+ $ZSTD_SYMLINK_DIR /gzip --fast file ; $ZSTD_SYMLINK_DIR /gzip -d file.gz
11
+ $ZSTD_SYMLINK_DIR /gzip --best file ; $ZSTD_SYMLINK_DIR /gzip -d file.gz
11
12
12
- # Test -n / --no-name: do not embed original filename in archive
13
- $ZSTD_SYMLINK_DIR /gzip -n file ; grep -qv file file.gz ; $ZSTD_SYMLINK_DIR /gzip -d file.gz
14
- $ZSTD_SYMLINK_DIR /gzip --no-name file ; grep -qv file file.gz ; $ZSTD_SYMLINK_DIR /gzip -d file.gz
15
- $ZSTD_SYMLINK_DIR /gzip -c --no-name file | grep -qv file
13
+ # Test -n / --no-name: do not embed original filename in archive
14
+ $ZSTD_SYMLINK_DIR /gzip -n file ; grep -qv file file.gz ; $ZSTD_SYMLINK_DIR /gzip -d file.gz
15
+ $ZSTD_SYMLINK_DIR /gzip --no-name file ; grep -qv file file.gz ; $ZSTD_SYMLINK_DIR /gzip -d file.gz
16
+ $ZSTD_SYMLINK_DIR /gzip -c --no-name file | grep -qv file
17
+ fi
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
datagen -g1G > file
3
- zstd --long=31 -1 --single-thread --no-content-size -f file
3
+ zstd --long=30 -1 --single-thread --no-content-size -f file
4
4
zstd -l -v file.zst
5
5
6
6
# We want to ignore stderr (its outputting "*** zstd command line interface
You can’t perform that action at this time.
0 commit comments