ce2a10e995
gates / gates (push) Successful in 27s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
5 lines
316 B
Bash
Executable File
5 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
# bench.sh — run stdin as a bash script inside bench LXC 9401 on demo-hp (one temp file per call).
|
|
t=/tmp/b9401-$$-$RANDOM.sh
|
|
ssh -o BatchMode=yes demo-hp "export LC_ALL=C; cat > $t; pct push 9401 $t $t >/dev/null 2>&1; pct exec 9401 -- bash $t; rc=\$?; pct exec 9401 -- rm -f $t; rm -f $t; exit \$rc"
|