$ docker run --rm --name validator-libbz2-usage-bzip2-r12-stdin-test-corrupt-fails-2737 -t --mount type=bind,src=/tmp/validator-status-libbz2-usage-bzip2-r12-stdin-test-corrupt-fails,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-r12-stdin-test-corrupt-fails -- bash -c 'PS4=$1; shift; set -x; source "$@"' validator-xtrace '__VALIDATOR_XTRACE__ ' /validator/tests/libbz2/tests/cases/usage/usage-bzip2-r12-stdin-test-corrupt-fails.sh no override packages found; continuing with apt originals import sys src = open(sys.argv[1], "rb").read() buf = bytearray(src) buf[30] ^= 0xff open(sys.argv[1], "wb").write(bytes(buf)) ' /tmp/validator-tmp/in.txt.bz2