#!/usr/bin/env bash
# Run on Linux with cgroup v2 and eight CPUs before scenarios:prove.
# The job has its own two-CPU quota; the T3 server runs outside this job.
set -euo pipefail
systemd-run --user --unit=proof-46234-quota -p CPUQuota=200% bash -c 'for i in $(seq 8); do (while :; do :; done) & done; wait'
# After the paired scenario finishes:
# systemctl --user stop proof-46234-quota.service
