Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 42 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ concurrency:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
# Every feature a build can ship with, for the tests and coverage: not
# count-allocs (a diagnostic allocator) nor bench-no-middleware and
# bench-null-middleware (measurement builds that take the middleware chain
# out, under which the chain the release runs is not even compiled).
# Clippy still checks --all-features, so those compile too.
SHIPPING_FEATURES: pqc pqc-signatures metrics admin-api geoip acme legacy-pqc fips

jobs:
# =============================================================================
Expand Down Expand Up @@ -198,7 +204,7 @@ jobs:
if: matrix.os == 'ubuntu-latest'
env:
PQCRYPTA_REQUIRE_REDIS: "1"
run: cargo test --all-features -- --nocapture
run: cargo test --features "$SHIPPING_FEATURES" -- --nocapture

- name: Run unit tests (macOS)
if: matrix.os == 'macos-latest'
Expand Down Expand Up @@ -527,6 +533,40 @@ jobs:
done < <(git rev-list "$BASE..$HEAD")
exit $status

# =============================================================================
# Shell
# =============================================================================
# Every shell script against ShellCheck, the release pinned here and checked
# against its published digest, following what each one sources
# (.shellcheckrc). The pentest configuration template, config.demo.sh, is
# only ever sourced, so it is read through the scripts that source it, where
# its settings are used.
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
env:
SHELLCHECK_VERSION: v0.12.0
SHELLCHECK_SHA256: 28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: ShellCheck, the pinned release
run: |
curl -fsSL -o "$RUNNER_TEMP/shellcheck.tar.xz" \
"https://github.com/koalaman/shellcheck/releases/download/$SHELLCHECK_VERSION/shellcheck-$SHELLCHECK_VERSION.linux.x86_64.tar.xz"
echo "$SHELLCHECK_SHA256 $RUNNER_TEMP/shellcheck.tar.xz" | sha256sum -c -
tar -xJf "$RUNNER_TEMP/shellcheck.tar.xz" -C "$RUNNER_TEMP"
echo "$RUNNER_TEMP/shellcheck-$SHELLCHECK_VERSION" >> "$GITHUB_PATH"
- name: Every script
run: |
shellcheck --version
git ls-files -z | while IFS= read -r -d '' f; do
case "$f" in vendor/*|pentests/config.demo.sh) continue ;; esac
case "$f" in *.sh) echo "$f"; continue ;; esac
head -1 "$f" | grep -qE '^#!(/bin/(ba)?sh|/usr/bin/env (ba)?sh)' && echo "$f"
done | xargs -r shellcheck

# =============================================================================
# Workflow security
# =============================================================================
Expand Down Expand Up @@ -601,7 +641,7 @@ jobs:
- name: Tests under coverage
env:
PQCRYPTA_REQUIRE_REDIS: "1"
run: cargo "+$NIGHTLY" llvm-cov --branch --all-features --ignore-filename-regex '(^|/)vendor/' --lcov --output-path lcov.info
run: cargo "+$NIGHTLY" llvm-cov --branch --features "$SHIPPING_FEATURES" --ignore-filename-regex '(^|/)vendor/' --lcov --output-path lcov.info

- name: Summary
run: |
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,24 @@ jobs:
# published, as immutable releases require.
# The release PR is opened and updated with this workflow's GITHUB_TOKEN,
# and GitHub starts no workflow for a push made with that token, so its
# commit would merge with neither CI nor CodeQL behind it. A
# workflow_dispatch made with the same token does start one: both run on the
# release branch, and their checks are on the commit the PR merges.
# commit would merge with none of the checks main requires behind it. A
# workflow_dispatch made with the same token does start one: CI, CodeQL,
# the dependency audit and the secret scan run on the release branch, and
# their checks are on the commit the PR merges.
release-pr-checks:
name: CI and CodeQL on the release PR
name: The required checks on the release PR
needs: release-please
if: needs.release-please.outputs.prs_created == 'true'
runs-on: ubuntu-latest
permissions:
actions: write # start CI and CodeQL on the release branch
actions: write # start the required checks' workflows on the release branch
steps:
- name: Start them on the release branch
env:
GH_TOKEN: ${{ github.token }}
BRANCH: ${{ fromJSON(needs.release-please.outputs.pr).headBranchName }}
run: |
for workflow in ci.yml codeql.yml; do
for workflow in ci.yml codeql.yml cargo-deny.yml secret-scan.yml; do
gh workflow run "$workflow" --repo "$GITHUB_REPOSITORY" --ref "$BRANCH"
done

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/secret-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches: [main]
schedule:
- cron: '0 3 * * 1' # Monday 03:00 UTC
# Release Please starts it on each release PR (release-please.yml), whose
# pushes start no workflow of their own
workflow_dispatch:

# Read only unless a job asks for more
permissions:
Expand Down
2 changes: 2 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
external-sources=true
source-path=SCRIPTDIR
9 changes: 5 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ git clone https://github.com/PQCrypta/pqcrypta-proxy.git
cd pqcrypta-proxy
cargo build
cargo test # unit, integration and documentation tests
cargo test --all-features # what CI runs on Linux
cargo test --features "pqc pqc-signatures metrics admin-api geoip acme legacy-pqc fips"
# what CI runs on Linux: every feature a build ships with
cargo run -- --config config/example-config.toml --validate
```

Expand All @@ -64,7 +65,7 @@ reaches, and each one for an hour a day.
```bash
cargo fmt -p pqcrypta-proxy -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-features
cargo test --features "pqc pqc-signatures metrics admin-api geoip acme legacy-pqc fips"
```
4. Open a pull request against `main`. Describe what changes and why, and
link the issue it addresses. A maintainer reviews it (below), and it
Expand Down Expand Up @@ -128,8 +129,8 @@ that touch the code it reaches, and for an hour each day.

The style guides are the [Rust Style Guide](https://doc.rust-lang.org/style-guide/)
as rustfmt applies it, the [Rust API Guidelines](https://rust-lang.github.io/api-guidelines/),
and Clippy's lints; for GitHub Actions workflows, zizmor's. CI enforces
each of them.
and Clippy's lints; for shell, [ShellCheck](https://www.shellcheck.net/)'s;
for GitHub Actions workflows, zizmor's. CI enforces each of them.

- rustfmt, and clippy with `all`, `pedantic` and `nursery` at warning level,
every warning an error in CI ([`Cargo.toml`](Cargo.toml) `[lints]`,
Expand Down
1 change: 1 addition & 0 deletions benchmarks/ack-ab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# Order flips on round parity: running A first every round confounds the binary
# with the slot, and a null test on this rig put the slot effect at 3.7%.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/bench-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# A backend that is not clear turns every cell it binds into a measurement of
# nginx rather than of a proxy.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bench-handshake2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -uo pipefail

# Shared guards — see benchlib.sh. Each exists because its absence produced a
# confident wrong number that was believed for a while.
# shellcheck source=/root/bench/benchlib.sh
# shellcheck source=benchlib.sh
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/bench-routes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# source and allocated a lowercased copy of the path per route. After, each is
# compiled once and the comparisons allocate nothing.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
LOCK=/run/lock/pqc-bench.lock
Expand Down
5 changes: 4 additions & 1 deletion benchmarks/benchlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,11 @@ bench_assert_pinning() { # $1=pid $2=expected cpu list, e.g. 4-5
echo "pinning ok: pid $pid within $want"
}

# The guards every benchmark starts with: enough file descriptors, the one
# lock (BENCH_LOCK, /run/lock/pqc-bench.lock unless set), and the proxies
# stopped however the run ends
bench_guard_init() {
bench_require_fds
bench_take_lock "${1:-/run/lock/pqc-bench.lock}"
bench_take_lock "${BENCH_LOCK:-/run/lock/pqc-bench.lock}"
trap 'bench_stop_proxies' EXIT INT TERM
}
1 change: 1 addition & 0 deletions benchmarks/cycles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# cycles & instructions flat, IPC down -> cache/memory contention
set -uo pipefail
while fuser /run/lock/pqc-bench.lock >/dev/null 2>&1; do sleep 30; done
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/instr-ab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# Order flips on round parity so neither binary always runs in the same slot.
set -uo pipefail
while fuser /run/lock/pqc-bench.lock >/dev/null 2>&1; do sleep 30; done
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/instr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# becomes the final headline number rather than the development feedback loop.
set -uo pipefail
while fuser /run/lock/pqc-bench.lock >/dev/null 2>&1; do sleep 30; done
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/launch-current.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Every benchmark /proxy-comparison/ quotes, on the build now deployed.
set -uo pipefail
cd /root/bench
cd /root/bench || exit 1
export NOW_BIN=/root/bench/pqc-93256d06
STAMP=$(date +%Y%m%d_%H%M%S)
matrix() { # $1=name $2=arms $3=reps [$4=ceiling]
Expand All @@ -30,12 +30,12 @@ matrix cmp3 "haproxy lean-now pqc-full" 6 ceiling
matrix feat2 "plumb feat" 4
matrix sec2 "sec-off sec-on" 4
BIN=$NOW_BIN RES=/root/bench/out/handshake-$STAMP ./run-handshake.sh
BIN=$NOW_BIN ./nd-ab.sh > /root/bench/out/nd-ab-$STAMP.log 2>&1
BIN=$NOW_BIN ./nd-ab.sh > "/root/bench/out/nd-ab-$STAMP.log" 2>&1
BIN=$NOW_BIN RES=/root/bench/out/window-$STAMP ./window-study.sh
echo "########## all done $(date -Is)" > /root/bench/out/current-$STAMP.done
echo "########## all done $(date -Is)" > "/root/bench/out/current-$STAMP.done"
# The consistency section: where the run-to-run spread comes from, re-asked on
# the current build.
for s in spread-confirm cycles stalls steal smt; do
BIN=$NOW_BIN ./$s.sh > /root/bench/out/$s-$STAMP.log 2>&1
BIN=$NOW_BIN "./$s.sh" > "/root/bench/out/$s-$STAMP.log" 2>&1
done
echo "########## consistency done $(date -Is)" >> /root/bench/out/current-$STAMP.done
echo "########## consistency done $(date -Is)" >> "/root/bench/out/current-$STAMP.done"
14 changes: 7 additions & 7 deletions benchmarks/launch-rerun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# it finishes, into out/publish-$STAMP/<run>/, and out/publish-$STAMP.done
# lists what finished.
set -uo pipefail
cd /root/bench
cd /root/bench || exit 1
export NOW_BIN=/root/bench/pqc-fa8556d2
COMMIT=6d75ab9
STAMP=$(date +%Y%m%d_%H%M%S)
Expand Down Expand Up @@ -39,20 +39,20 @@ publish() { echo "$1 $(date -Is)" >> "$PUB.done"; }

if matrix cmp4 "haproxy lean-now pqc-full" 6 ceiling; then
BINARY=$NOW_BIN FULL_ARM=pqc-full FULL_CONFIG=pqc-bench-full.toml \
python3 export-bench.py out/cmp4-$STAMP cmp4- "$PUB/cmp4-$STAMP" lean-now $COMMIT >/dev/null && publish cmp4-$STAMP
python3 export-bench.py "out/cmp4-$STAMP" cmp4- "$PUB/cmp4-$STAMP" lean-now "$COMMIT" >/dev/null && publish "cmp4-$STAMP"
fi
if matrix feat3 "plumb feat" 4; then
BINARY=$NOW_BIN BASE=plumb CONFS=pqc-bench.toml,pqc-bench-features.toml,nginx.conf \
python3 export-bench.py out/feat3-$STAMP feat3- "$PUB/feat3-$STAMP" feat $COMMIT >/dev/null && publish feat3-$STAMP
python3 export-bench.py "out/feat3-$STAMP" feat3- "$PUB/feat3-$STAMP" feat "$COMMIT" >/dev/null && publish "feat3-$STAMP"
fi
if matrix sec3 "sec-off sec-on" 4; then
BINARY=$NOW_BIN BASE=sec-off CONFS=pqc-sec-off.toml,pqc-sec-on.toml,nginx.conf \
python3 export-bench.py out/sec3-$STAMP sec3- "$PUB/sec3-$STAMP" sec-on $COMMIT >/dev/null && publish sec3-$STAMP
python3 export-bench.py "out/sec3-$STAMP" sec3- "$PUB/sec3-$STAMP" sec-on "$COMMIT" >/dev/null && publish "sec3-$STAMP"
fi
BIN=$NOW_BIN OUT=/root/bench/out/nd-ab-$STAMP.csv ./nd-ab.sh > /root/bench/out/nd-ab-$STAMP.log 2>&1
BIN=$NOW_BIN OUT="/root/bench/out/nd-ab-$STAMP.csv" ./nd-ab.sh > "/root/bench/out/nd-ab-$STAMP.log" 2>&1
BIN=$NOW_BIN OUT=/root/bench/out/nd-h1-dist-$STAMP.txt ./nd-h1-dist.sh >/dev/null 2>&1
if grep -q "^########## done" /root/bench/out/nd-ab-$STAMP.log; then
if grep -q "^########## done" "/root/bench/out/nd-ab-$STAMP.log"; then
BINARY=$NOW_BIN DIST=/root/bench/out/nd-h1-dist-$STAMP.txt \
python3 export-study.py nagle out/nd-ab-$STAMP.csv "$PUB/nagle-$STAMP" $COMMIT >/dev/null && publish nagle-$STAMP
python3 export-study.py nagle "out/nd-ab-$STAMP.csv" "$PUB/nagle-$STAMP" "$COMMIT" >/dev/null && publish "nagle-$STAMP"
fi
echo "all $(date -Is)" >> "$PUB.done"
1 change: 1 addition & 0 deletions benchmarks/mw-ab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# header delta is measured too and the result is an UPPER BOUND on what removing
# the layering alone would buy.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/mw3-abc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#
# Order rotates each round so no arm is permanently in the slow slot.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/mw3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#
# Order rotates each round so no arm is permanently in the slow slot.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/nd-ab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ while fuser /run/lock/pqc-bench.lock >/dev/null 2>&1; do
echo "waiting for the lock $(date -Is)"; sleep 120
done

# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/nd-h1-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Where the HTTP/1.1 Nagle stall comes from: the per-request time distribution
# (min, max, mean, sd) with tcp_nodelay off, which the nd-ab CSV reduces to a mean.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
4 changes: 3 additions & 1 deletion benchmarks/onestream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# The single-in-flight-stream cell, both proxies, current build.
# This is the cell that read 385 req/s before the ACK fix.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand All @@ -16,7 +17,8 @@ cell() { # $1=label $2=port $3=alpn
local pid c0 c1 t0 t1 out
pid=$(ss -lntupH 2>/dev/null | grep ":$2" | grep -oP 'pid=\K[0-9]+' | head -1)
c0=$(awk '{print $14+$15}' "/proc/$pid/stat"); t0=$(date +%s.%N)
out=$(taskset -c "$BENCH_GEN_CPUS" timeout 40 "$H2LOAD" $3 -c 10 -m 1 -t 6 \
local -a alpn; read -ra alpn <<<"$3" # h2load's ALPN options, as words
out=$(taskset -c "$BENCH_GEN_CPUS" timeout 40 "$H2LOAD" "${alpn[@]}" -c 10 -m 1 -t 6 \
--duration=10 --warm-up-time="${WU:-$BENCH_WARMUP}" "https://bench.local:$2/1k" 2>/dev/null)
t1=$(date +%s.%N); c1=$(awk '{print $14+$15}' "/proc/$pid/stat")
echo "$out" | awk -v l="$1" -v a="$c0" -v b="$c1" -v s="$t0" -v e="$t1" '
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/queue-window.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
# queue, so the page's two runs describe one build. Packaged into
# out/publish-$STAMP/ with its own .done list.
set -uo pipefail
cd /root/bench
cd /root/bench || exit 1
until grep -q '^all ' /root/bench/out/publish-20260925_132019.done 2>/dev/null; do sleep 300; done
STAMP=$(date +%Y%m%d_%H%M%S)
PUB=/root/bench/out/publish-$STAMP
mkdir -p "$PUB"
BIN=/root/bench/pqc-fa8556d2 RES=/root/bench/out/window-$STAMP ./window-study.sh >/dev/null 2>&1
if grep -q '^########## done' /root/bench/out/window-$STAMP/run.log; then
BINARY=/root/bench/pqc-fa8556d2 python3 export-study.py window out/window-$STAMP "$PUB/window-$STAMP" 6d75ab9 >/dev/null \
if grep -q '^########## done' "/root/bench/out/window-$STAMP/run.log"; then
BINARY=/root/bench/pqc-fa8556d2 python3 export-study.py window "out/window-$STAMP" "$PUB/window-$STAMP" 6d75ab9 >/dev/null \
&& echo "window-$STAMP $(date -Is)" >> "$PUB.done"
fi
echo "all $(date -Is)" >> "$PUB.done"
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/repeat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ set -uo pipefail

# Shared guards — see benchlib.sh. Each exists because its absence produced a
# confident wrong number that was believed for a while.
# shellcheck source=/root/bench/benchlib.sh
# shellcheck source=benchlib.sh
. /root/bench/benchlib.sh
# Orchestrator only: bench-routes.sh takes the lock per invocation, so taking
# it here as well would deadlock every child. Just raise the fd limit.
bench_require_fds
A=$1; B=$2; N=${3:-6}
for i in $(seq "$N"); do
for _ in $(seq "$N"); do
BIN="$A" ./bench-routes.sh 2>/dev/null | tail -3 | awk -v t="A" "{print t, \$3}"
BIN="$B" ./bench-routes.sh 2>/dev/null | tail -3 | awk -v t="B" "{print t, \$3}"
done
2 changes: 1 addition & 1 deletion benchmarks/run-bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -uo pipefail

# Shared guards — see benchlib.sh. Each exists because its absence produced a
# confident wrong number that was believed for a while.
# shellcheck source=/root/bench/benchlib.sh
# shellcheck source=benchlib.sh
. /root/bench/benchlib.sh
bench_guard_init

Expand Down
1 change: 1 addition & 0 deletions benchmarks/run-handshake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# read off a connection with openssl s_client before each group is measured,
# and the run refuses to continue if it is not the group asked for.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init
export LD_LIBRARY_PATH=/opt/h3bench/lib
Expand Down
1 change: 1 addition & 0 deletions benchmarks/run-lean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
# REPS=4), so each arm spends one rep in each slot -- trap 11, the slot effect,
# measured 3.7% on a null test, cancels instead of landing on one arm.
set -uo pipefail
# shellcheck source=benchlib.sh # the file this loads, as committed
. /root/bench/benchlib.sh
bench_guard_init

Expand Down
Loading
Loading