$ docker run --rm --name validator-libbz2-usage-bzip2-levels-1-and-9-roundtrip-1mb-2737 -t --mount type=bind,src=/tmp/validator-status-libbz2-usage-bzip2-levels-1-and-9-roundtrip-1mb,dst=/validator/status validator-libbz2-shared bash -lc 'set -euo pipefail /validator/tests/_shared/install_override_debs.sh exec /validator/tests/_shared/run_library_tests.sh "$@"' validator-testcase libbz2 usage-bzip2-levels-1-and-9-roundtrip-1mb -- bash -c 'PS4=$1; shift; set -x; source "$@"' validator-xtrace '__VALIDATOR_XTRACE__ ' /validator/tests/libbz2/tests/cases/usage/usage-bzip2-levels-1-and-9-roundtrip-1mb.sh no override packages found; continuing with apt originals import sys size = 1024 * 1024 state = 0x1234abcd buf = bytearray(size) for i in range(size): state = (1103515245 * state + 12345) & 0x7fffffff buf[i] = state & 0xff sys.stdout.buffer.write(bytes(buf)) '