node/deps/zlib/google/test/data/create_test_zip.sh
Sam Roberts 9a1719b541 deps: update zlib to upstream d7f3ca9
Updated as described in doc/guides/maintaining-zlib.md.

PR-URL: https://github.com/nodejs/node/pull/31800
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
2020-02-24 11:52:55 -08:00

17 lines
465 B
Bash
Executable file

#!/bin/bash
#
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Run this script in its directory to recreate test.zip, test_nocompress.zip,
# and test_encrypted.zip
rm test.zip
rm test_nocompress.zip
rm test_encrypted.zip
pushd test
zip -r ../test.zip .
zip -r -0 ../test_nocompress.zip .
zip -P "fake_password" -r ../test_encrypted.zip .
popd