dropshell release 2025.0513.2134
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
This commit is contained in:
6
build_arm64/_deps/zstd-src/tests/cli-tests/cltools/setup
Executable file
6
build_arm64/_deps/zstd-src/tests/cli-tests/cltools/setup
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "1234" > file
|
||||
zstd file
|
8
build_arm64/_deps/zstd-src/tests/cli-tests/cltools/zstdgrep.sh
Executable file
8
build_arm64/_deps/zstd-src/tests/cli-tests/cltools/zstdgrep.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
println "+ good path"
|
||||
zstdgrep "1234" file file.zst
|
||||
println "+ bad path"
|
||||
zstdgrep "1234" bad.zst
|
@ -0,0 +1 @@
|
||||
1
|
@ -0,0 +1 @@
|
||||
zstd: can't stat bad.zst : No such file or directory -- ignored
|
@ -0,0 +1,4 @@
|
||||
+ good path
|
||||
file:1234
|
||||
file.zst:1234
|
||||
+ bad path
|
10
build_arm64/_deps/zstd-src/tests/cli-tests/cltools/zstdless.sh
Executable file
10
build_arm64/_deps/zstd-src/tests/cli-tests/cltools/zstdless.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
println "+ good path"
|
||||
zstdless file.zst
|
||||
println "+ pass parameters"
|
||||
zstdless -N file.zst # This parameter does not produce line #s when piped, but still serves to test that the flag went to less and not zstd
|
||||
println "+ bad path"
|
||||
zstdless bad.zst >&2
|
@ -0,0 +1,2 @@
|
||||
zstd: can't stat bad.zst : No such file or directory -- ignored
|
||||
bad.zst: No such file or directory
|
@ -0,0 +1,5 @@
|
||||
+ good path
|
||||
1234
|
||||
+ pass parameters
|
||||
1234
|
||||
+ bad path
|
Reference in New Issue
Block a user