SPB Git

Repository Public

record-fixtures.sh 583 B 13 lines shellscript

1#!/bin/bash2# Records the test fixtures from the frozen test backend (M2U64, port 5058 — never production) and trims them.3# The device token stays on the node (/tmp/vq-api-token); it is never printed or copied.4#   Scripts/record-fixtures.sh [node]5set -euo pipefail6NODE="${1:-M2U64}"7HERE="$(cd "$(dirname "$0")" && pwd)"8RAW="$(mktemp -d /tmp/vqkit-fx-raw.XXXXXX)"9ssh "$NODE" 'bash -s' < "$HERE/record-fixtures-remote.sh"10scp -q "$NODE:/tmp/vqkit-fx/*" "$RAW/"11python3 "$HERE/trim-fixtures.py" "$RAW" "$HERE/../Tests/VQuantKitTests/Fixtures"12echo "raw responses kept in $RAW"13
Files main
Menu

Theme