We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9d1ec commit 35652b0Copy full SHA for 35652b0
tests/playTests.sh
@@ -304,6 +304,14 @@ zstd -d -f tmp_corrupt.zst --no-check
304
zstd -d -f tmp_corrupt.zst --check --no-check # final flag overrides
305
zstd -d -f tmp.zst --no-check
306
307
+if [ "$isWindows" = false ]; then
308
+ if [ -n "$(which readelf)" ]; then
309
+ println "test: check if binary has executable stack"
310
+ file "$ZSTD_BIN"
311
+ readelf -lW "$ZSTD_BIN" | grep 'GNU_STACK .* RW ' || die "zstd binary has executable stack!"
312
+ fi
313
+fi
314
+
315
println "\n===> zstdgrep tests"
316
ln -sf "$ZSTD_BIN" zstdcat
317
rm -f tmp_grep
0 commit comments